Mozilla.com
Some features of this site require JavaScript.
Determines if a given jsval is the JavaScript value undefined.
jsval
undefined
JSVAL_IS_VOID(v)
JSVAL_IS_VOID(v) is true if v is JSVAL_VOID, which represents the JavaScript value undefined.
v
JSVAL_VOID
The following code snippet illustrates how a JavaScript variable, MyItem, is conditionally tested in an if statement to see if it is void.
MyItem
if
if (JSVAL_IS_VOID(MyItem)) { ... }
LXR ID Search for JSVAL_IS_VOID
JSVAL_IS_VOID
Page last modified 20:11, 5 Sep 2008 by Jorend
Content is available under these licenses
About MDC
Viewing Details: