Handbook
Glossary
validate-integer-id ( -- )
Vocabulary
furnace
.
actions
Word description
A utility word which validates an integer parameter named
id
.
Examples
<action> [ validate-integer-id "id" value <person> select-tuple from-object ] >>init
Definition
USING:
validators
;
IN:
furnace.actions
:
validate-integer-id
( -- )
{
{
"id"
[
v-number
]
}
}
validate-params
;