Function isPromise

  • Check whether the parameter is a promise.

    Returns

    true if p is a promise

    Parameters

    • p: unknown

    Returns p is Promise<unknown>

Generated using TypeDoc