generated-xml-error? ( object -- ? ) (original) (raw)

generated-xml-error? ( object -- ? )

Vocabulary
xml.errors

Inputs and outputs

object an object
? a boolean

Word description
Tests if the object is an instance of the generated-xml-error class.

Definition

USING: classes kernel words ;

IN: xml.errors

: generated-xml-error? ( object -- ? )
dup tuple?
[ class-of "xml-error-class" word-prop ] [ drop f ] if ;