ucs2?

[procedure] ucs2? obj

Bigloo: returns true if obj is a UCS2 character.

Bigloo has distinct type for UCS2 character and single-byte character. UCS2 character can be denoted by a syntax #u<unicode>. (See #u).

UCS2 character and standard character can be converted by ucs2->char and char->ucs2.

UCS2 character has specialized operations reflecting standard character operations: ucs2=?, ucs2-ci=?, ucs2<?, ucs2-ci<?, ucs2<=?, ucs2-ci<=?, ucs2>?, ucs2-ci>?, ucs2>=?, ucs2-ci>=?, ucs2-alphabetic?, ucs2-numeric?, ucs2-whitespace?, ucs2-upper-case?, ucs2-lower-case?, ucs2->integer, integer->ucs2, ucs2-upcase, ucs2-downcase.