JSValueIsNull top-level property

bool Function(JSContextRef ctx, JSValueRef value) JSValueIsNull
final

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 bool Function(JSContextRef ctx, JSValueRef value) JSValueIsNull =
    kLookup<NativeFunction<Bool Function(JSContextRef, JSValueRef)>>(
      'JSValueIsNull',
    ).asFunction();