method? ( object -- ? )


Vocabulary
generic

Inputs and outputs
objectan object
?a boolean


Word description
Tests if the object is an instance of the method class.

Definition


: method? ( object -- ? )
dup word?
[ "method-generic" word-prop >boolean ] [ drop f ] if ;