mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
405 B
24 lines
405 B
name: duk_is_null_or_undefined
|
|
|
|
proto: |
|
|
duk_bool_t duk_is_null_or_undefined(duk_context *ctx, duk_idx_t idx);
|
|
|
|
stack: |
|
|
[ ... val! ... ]
|
|
|
|
summary: |
|
|
<p>Renamed <code><a href="#duk_is_nullish">duk_is_nullish()</a></code> in Duktape 3.0.</p>
|
|
|
|
example: |
|
|
if (duk_is_null_or_undefined(ctx, -3)) {
|
|
/* ... */
|
|
}
|
|
|
|
tags:
|
|
- stack
|
|
|
|
seealso:
|
|
- duk_is_nullish
|
|
|
|
introduced: 1.0.0
|
|
deprecated: 3.0.0
|
|
|