Handbook
Glossary
contained-tag? ( object -- ? )
Vocabulary
xml
.
data
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
contained-tag
class.
Definition
USING:
accessors
kernel
sequences
;
IN:
xml.data
:
contained-tag?
( object -- ? )
dup
tag?
[
children>>
empty?
]
[
drop
f
]
if
;