JSValueIsBoolean top-level property

bool Function(JSContextRef ctx, JSValueRef value) JSValueIsBoolean
final

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

Implementation

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