JSValueGetType top-level property

int Function(JSContextRef ctx, JSValueRef value) JSValueGetType
final

Returns a JavaScript value's type. ctx The execution context to use. value The JSValue whose type you want to obtain. @result A value of type JSType that identifies value's type.

Implementation

final int /*JSType*/ Function(JSContextRef ctx, JSValueRef value) JSValueGetType =
    jscLib.lookup<NativeFunction<Uint32 /*JSType*/ Function(JSContextRef ctx, JSValueRef value)>>('JSValueGetType').asFunction();