Handbook
Glossary
string-type? ( object -- ? )
Vocabulary
alien
.
arrays
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
string-type
class.
Definition
USING:
alien.c-types
arrays
kernel
sequences
words
;
IN:
alien.arrays
:
string-type?
( object -- ? )
dup
pair?
[
first2
[
c-string
=
]
[
word?
]
bi*
and
]
[
drop
f
]
if
;