Handbook
Glossary
1.1name-char? ( object -- ? )
Vocabulary
xml
.
char-classes
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
1.1name-char
class.
Definition
USING:
kernel
math
sequences
unicode.data
;
IN:
xml.char-classes
:
1.1name-char?
( object -- ? )
dup
integer?
[
integer>fixnum-strict
dup
category-num
B{
2 1 5 4 10 7 6 9 12 27
}
member?
[
drop
t
]
[
"_-.ยท:"
member?
]
if
]
[
drop
f
]
if
;