JSVAL IS PRIMITIVE

Determine if a given jsval is of a primitive type.

Syntax

JSVAL_IS_PRIMITIVE(v)

Description

JSVAL_IS_PRIMITIVE(v) is true if v is undefined, null, a boolean, a number, or a string. Otherwise it is false, and v is an object.

MXR ID Search for JSVAL_IS_PRIMITIVE

Document Tags and Contributors

 Last updated by: Jorend,