Skip to content

__is_sq_string__

builtin · libnexusinterp/nexus-value/ov-proprietary.cc

: tf = __is_sq_string__ (x)

Return true when x is a character value that was written with single quotes.

The interpreter records which quote style produced a character array, and this tests for the single-quoted form, in which the text is taken literally with no escape processing. A double-quoted character value, or any non-character value, yields false. Exactly one argument must be given.