Handbook
Glossary
v-checkbox ( str -- ? )
Form validators
Prev:
v-captcha ( str -- str )
Next:
v-email ( str -- str )
Vocabulary
validators
Inputs
str
a
string
Outputs
?
a
boolean
Word description
Converts the string value of a checkbox component (either "on" or "off") to a boolean value.
Definition
USING:
kernel
unicode
;
IN:
validators
:
v-checkbox
( str -- ? )
>lower
"on"
=
;