Function isFunction

  • Returns whether the payload is a function (regular or async)

    Parameters

    • payload: unknown

    Returns payload is AnyFunction