Function isPromise

  • Returns whether the payload is a Promise

    Parameters

    • payload: unknown

    Returns payload is Promise<unknown>