Contents

JSObjectIsFunction(_:_:)

Tests whether you can call an object as a function.

Declaration

func JSObjectIsFunction(_ ctx: JSContextRef!, _ object: JSObjectRef!) -> Bool

Parameters

  • ctx:

    The execution context to use.

  • object:

    The Jsobjectref to test.

Return Value

true if you can call the object as a function; otherwise, false.

See Also

Working with Objects