• Checks if the supplied value is a promise.

    Type Parameters

    • T

    Parameters

    • value: SyncOrAsync<T>

      Value to check.

    Returns value is Promise<T>

    • Whether the value is a promise.