predicate-def ( obj -- quot )


Vocabulary
classes

Inputs and outputs
obja type object
quota quotation


Word description
Outputs a quotation that can be used to check if objects are an instance of the given type.

Examples
USING: classes math prettyprint ; fixnum predicate-def .
[ fixnum? ]


Definition


Methods