JSValueIsNumber top-level property

bool Function(JSContextRef ctx, JSValueRef value) JSValueIsNumber
final

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

Implementation

final bool Function(JSContextRef ctx, JSValueRef value) JSValueIsNumber = jscLib.lookup<NativeFunction<Bool Function(JSContextRef ctx, JSValueRef value)>>('JSValueIsNumber').asFunction();