jSValueIsNumber top-level property

int Function(Pointer<NativeType> ctx, Pointer<NativeType> value) jSValueIsNumber
final

Tests whether a JavaScript value's type is the number type. ctx (JSContextRef) The execution context to use. value (JSValueRef) The JSValue to test. @result (bool) true if value's type is the number type, otherwise false.

Implementation

final int Function(Pointer ctx, Pointer value) jSValueIsNumber = jscLib
    .lookup<NativeFunction<Int8 Function(Pointer, Pointer)>>('JSValueIsNumber')
    .asFunction();