predicate-def ( obj -- quot )


Vocabulary
classes

Inputs
obja type object


Outputs
quota quotation with stack effect ( obj -- ? )


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