Function

JSValueIsDate(_:_:)

Tests whether a JavaScript value is a date.

Declaration

func JSValueIsDate(_ ctx: JSContextRef!, _ value: JSValueRef!) -> Bool

Parameters

ctx

The execution context to use.

value

The JSValue to test.

Return Value

true if value is a date, otherwise false.