name: duk_get_lstring_default proto: | const char *duk_get_lstring_default(duk_context *ctx, duk_idx_t idx, duk_size_t *out_len, const char *def_ptr, duk_size_t def_len); stack: | [ ... val! ... ] summary: |
Like duk_get_lstring()
but with an explicit default value, returned when the value is not a
string or the index is invalid.