predicate-def ( obj -- quot ) (original) (raw)

Vocabulary
classes

Inputs

Outputs

quot a 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