name: duk_get_global_lstring proto: | duk_bool_t duk_get_global_lstring(duk_context *ctx, const char *key, duk_size_t key_len); stack: | [ ... ] -> [ ... val! ] (if key exists) [ ... ] -> [ ... undefined! ] (if key doesn't exist) summary: |
Like duk_get_global_string()
but the key is given as a string with explicit length.