Next: , Up: iklib chars   [Index]


6.22.1 Additional character predicates

The following bindings are exported by the library (vicare).

Function: list-of-chars? obj

Return #t if obj is null or a proper list of chars; otherwise return #f.

Function: char-in-ascii-range? obj

Evaluate to #t if ?obj is a character and its Unicode code point is in the range [0, 127].

Function: fixnum-in-character-range? obj

Return #t if obj is a fixnum and its value is in one of the ranges acceptable by Unicode code points; otherwise return #f.

Function: unicode-printable-char? ch

Return #t if ch is a character and it is printable; if ch is not printable: return #f; if ch is not a character: raise an exception.