|
Summary
Indicates whether a JS value has a type that is subject to garbage collection.
|
Syntax
JSVAL_IS_GCTHING(v)
|
Description
JSVAL_IS_GCTHING determines whether or not a specified JS value, v , is a pointer to value that is subject to garbage collection. JavaScript performs automatic garbage collection of objects, strings, and doubles. If the type tag for v is not JSVAL_INT and it is not JSVAL_BOOLEAN , JSVAL_IS_GCTHING evaluates to true . Otherwise it evaluates to false .
|
Notes
JSVAL_IS_GCTHING evaluates to true for JSVAL_NULL .
|
See Also
|