Entry:JS_GetTypeName (Macro) Summary: Function. Returns a pointer to the string literal description of a specified JS data type. Syntax:
const char * JS_GetTypeName(JSContext *cx, JSType type);
Argument Type Description cxJSContext * Pointer to a JS context from which to derive runtime information.
typeJSType The JS value to examine. type is one of JSTYPE_VOID, JSTYPE_OBJECT, JSTYPE_FUNCTION, JSTYPE_STRING, JSTYPE_NUMBER, or JSTYPE_BOOLEAN.