Contents

JSValueIsNull(_:_:)

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

Declaration

func JSValueIsNull(_ 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 null type; otherwise, false.

See Also

Testing the Value’s Type