method-body? ( object -- ? )


Vocabulary
multi-methods

Inputs and outputs
objectan object
?a boolean


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

Definition


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