tguard-js
    Preparing search index...

    Function isPromise

    • Checks if the given value is a Promise object.

      Parameters

      • x: unknown

        The value to check.

      Returns x is Promise<unknown>

      true if the value is a Promise object, otherwise false.

      1.0