isFunction property

bool get isFunction

Tests whether an object can be called as a function.

Implementation

bool get isFunction {
  return JSObjectRef.jSObjectIsFunction(context.pointer, pointer) == 1;
}