name? ( object -- ? ) - Factor Documentation

name? ( object -- ? )


Vocabulary
xml .data

Inputs and outputs
object an object
? a boolean


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

Definition
USING: classes.tuple.private kernel slots.private ;

IN: xml.data

: name? ( object -- ? )
dup tuple? [ layout-of 7 slot \ name eq? ] [ drop f ] if ;

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