Symbol values are visible in the C API as strings so that both duk_is_symbol() and duk_is_string() are true. This behavior is similar to Duktape 1.x internal strings. You can distinguish Symbols from ordinary strings using duk_is_symbol(). For the internal representation, see symbols.rst.