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:     JS_TypeOfValue (Function)
Summary:     Determines the JS data type of a JS value.
Syntax:
JSType JS_TypeOfValue(JSContext *cx, jsval v);

     Argument     Type     Description
     cx     JSContext *     Pointer to a JS context from which to derive runtime information.
                 
     v     jsval     The JS value to examine.
                 
Description:
JS_TypeOfValue examines a specified JS value, v, and returns its JS data type. The return value is always one of JSTYPE_VOIDJSTYPE_OBJECTJSTYPE_FUNCTIONJSTYPE_STRINGJSTYPE_NUMBER, or JSTYPE_BOOLEAN.


See also:
JS_ConvertValue
JS_GetTypeName
JS_ValueToBoolean
JS_ValueToFunction
JS_ValueToInt32
JS_ValueToNumber
JS_ValueToObject
JS_ValueToString

[sh-index] Back to list of manuals