Skip to content

__is_dq_string__

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

: tf = __is_dq_string__ (x)

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

The interpreter records which quote style produced a character array, and this tests for the double-quoted form, in which backslash escape sequences are interpreted when the literal is parsed. A single-quoted character value, or any non-character value, yields false. Exactly one argument must be given.