check-values ( word element -- )


Vocabulary
help.lint.checks

Inputs
worda word
elementa sequence


Outputs
None

Word description
Throws an error if the $values pair doesn't match the declared stack effect.

Examples
USING: help.lint.checks math ; : foo ( x -- y ) ; \ foo { $values { "a" number } { "b" number } } check-values
$values don't match stack effect; expected { "x" "y" }, got { "a" "b" } Type :help for debugging help.


Definition