AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
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:
JSVAL_IS_BOOLEAN
JSVAL_IS_DOUBLE
JSVAL_IS_INT
JSVAL_IS_NULL
JSVAL_IS_NUMBER
JSVAL_IS_OBJECT
JSVAL_IS_PRIMITIVE
JSVAL_IS_STRING
JSVAL_IS_VOID

[sh-index] Back to list of manuals