JSValueIsNull top-level property

bool Function(JSContextRef ctx, JSValueRef value) JSValueIsNull
final

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

Implementation

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