Entry: JSVAL_TO_STRING (Macro)
Summary: Casts the type tag for a specified JS value and returns a pointer to the value cast as a JS string.
Syntax:
JSVAL_TO_STRING(v)
Description:
JSVAL_TO_STRING casts a specified JS value, v, to a JS string. It does so by casting the value's type tag and casting the result to a string pointer.
Casting v to a string pointer manipulate its underlying type tag. It does not convert the value stored in v to a different data type. To perform actual data type conversion, use the JS_ValueToString function.
See also:
|
|
|