Contents

JSValueIsUndefined(_:_:)

Tests whether a JavaScript value’s type is the undefined type.

Declaration

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

Parameters

  • ctx:

    The execution context to use.

  • value:

    The Jsvalueref to test.

Return Value

true if the type of value is the undefined type; otherwise, false.

See Also

Testing the Value’s Type