name: duk_is_range_error proto: | duk_bool_t duk_is_range_error(duk_context *ctx, duk_idx_t index); stack: | [ ... val! ... ] summary: |
Returns 1 if value at index
inherits from RangeError
,
otherwise returns 0. If index
is invalid, also returns 0. This is
a convenience call for using
duk_get_error_code() == DUK_ERR_RANGE_ERROR
.