Function JSObjectIsFunction

Source
pub unsafe extern "C" fn JSObjectIsFunction(
    ctx: JSContextRef,
    object: JSObjectRef,
) -> bool
Expand description

Tests whether an object can be called as a function.

  • ctx: The execution context to use.
  • object: The JSObjectRef to test.

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

ยงSee also