(rontolisp) docs
← Maps, sets and vectors

chars

(chars xs)

Casts to char[]: answers the array xs itself -- nil itself, a vector narrowed as char-array narrows it, anything else the oracle's ClassCastException.

An array is a vector here: a vector narrows where the oracle refuses what is no primitive array (deviations). Runs on every backend; as a value a function of one argument.