JSValueIsDate top-level property

bool Function(JSContextRef ctx, JSValueRef value) JSValueIsDate
final

Tests whether a JavaScript value is a date. ctx (JSContextRef) The execution context to use. value (JSValueRef) The JSValue to test. @result (bool) true if value is a date, otherwise false.

Implementation

final bool Function(JSContextRef ctx, JSValueRef value) JSValueIsDate =
    kLookup<NativeFunction<Bool Function(JSContextRef, JSValueRef)>>(
      'JSValueIsDate',
    ).asFunction();