Function

JSObjectIsFunction(_:_:)

Tests whether an object can be called as a function.

Declaration

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

Parameters

ctx

The execution context to use.

object

The JSObject to test.

Return Value

true if the object can be called as a function, otherwise false.