name: duk_get_number_default proto: | duk_double_t duk_get_number_default(duk_context *ctx, duk_idx_t idx, duk_double_t def_value); stack: | [ ... val! ... ] summary: |
Like duk_get_number()
but with an explicit default value, returned when the value is not a
number or the index is invalid.