Handbook
Glossary
id? ( object -- ? )
Vocabulary
xml
.
data
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
id
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
;
IN:
xml.data
:
id?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
dup
\
public-id
eq?
[
drop
t
]
[
\
system-id
eq?
]
if
]
[
drop
f
]
if
;