@petsel/es-type-detection - v1.0.0
    Preparing search index...

    Function isPromise

    • Detects whether the passed value is exclusively a Promise type.

      Parameters

      • Optionalvalue: any

        An optionally passed value of any type.

      Returns value is Promise<any>

      A boolean value which indicates whether the tested value is exclusively a Promise type.