=proto duk_bool_t duk_is_nan(duk_context *ctx, duk_idx_t index); =stack [ ... val! ... ] =summary
Returns 1 if value at index
is a NaN
(a special
number value), otherwise returns 0. If index
is invalid,
also returns 0.
IEEE has a large number of different NaN
values. Duktape
normalizes NaN
values internally. This function returns 1
for any kind of a NaN
.