Entry: JSVAL_IS_PRIMITIVE (Macro)
Summary: Determines if a given JS value is a primitive type.
Syntax:
JSVAL_IS_PRIMITIVE(v)
Description:
Use JSVAL_IS_PRIMITVE to determine if a specified jsval, v, is an instrinsic JS primitive. Primitves are values that are undefined, null, boolean, numeric, or string types. If v is one of these, JSVAL_IS_PRIMITVE returns true. If v is an object, JSVAL_IS_PRIMITIVE returns false.
See also:
|
|
|