Handbook
Glossary
symbol? ( object -- ? )
Factor handbook
»
The language
»
Words
»
Symbols
Prev:
symbol
Next:
SYMBOL:
Vocabulary
words
.
symbol
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
symbol
class.
Definition
USING:
accessors
kernel
sequences
words
;
IN:
words.symbol
:
symbol?
( object -- ? )
dup
word?
[
[
def>>
]
[
[
]
curry
]
bi
sequence=
]
[
drop
f
]
if
;