blank? ( object -- ? )
Character classes
Prev:blank
Next:letter


Vocabulary
unicode.categories

Inputs and outputs
objectan object
?a boolean


Word description
Tests if the object is an instance of the blank class.

Definition
USING: kernel math sequences unicode.data ;

IN: unicode.categories

: blank? ( object -- ? )
dup integer? [
dup
category#
V{ 23 24 25 }
member?
[ drop t ]
[ "\r\n\t" member? ]
if
] [ drop f ] if ;