category-num ( char -- n ) - Factor Documentation

category-num ( char -- n )


Vocabulary
unicode .data

Inputs
char an object


Outputs
n an object


Definition
USING: kernel math.order sequences unicode.data.private ;

IN: unicode.data

: category-num ( char -- n )
[ category-map ?nth ] [
dup 917505 917631 between?
[ drop 26 ] [ 917760 917999 between? 5 29 ? ] if
] ?unless ; inline

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