Contents

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 Jsvalueref to test.

Return Value

true if value is a date; otherwise, false.

See Also

Testing the Value’s Type