v-min-value ( x n -- x )
Form validators

Prev:v-max-length ( str n -- str )
Next:v-max-value ( x n -- x )


Vocabulary
validators

Inputs
xan integer
nan integer


Outputs
xan integer


Word description
Throws an error if x is smaller than n.

Definition


: v-min-value ( x n -- x )
2dup <
[ [ "must be at least " % # ] "" make throw ] [ drop ] if ;