default-method? ( object -- ? ) - Factor Documentation

default-method? ( object -- ? )


Vocabulary
generic

Inputs and outputs
object an object
? a boolean


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

Definition
USING: kernel words ;

IN: generic

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

AltStyle によって変換されたページ (->オリジナル) /