blank? ( object -- ? ) - Factor Documentation

blank? ( object -- ? )


Vocabulary
unicode

Inputs and outputs
object an 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

: blank? ( object -- ? )
dup integer? [
integer>fixnum-strict
dup
category-num
B{ 23 24 25 }
member?
[ drop t ]
[ "\r\n\t" member? ]
if
] [ drop f ] if ;

AltStyle によって変換されたページ (->オリジナル) /