jSValueIsNull top-level property
Tests whether a JavaScript value's type is the null type.
ctx
(JSContextRef) The execution context to use.
value
(JSValueRef) The JSValue to test.
@result
(bool) true if value's type is the null type, otherwise false.
Implementation
final int Function(Pointer ctx, Pointer value) jSValueIsNull = JscFfi.lib
.lookup<NativeFunction<Int8 Function(Pointer, Pointer)>>('JSValueIsNull')
.asFunction();