@metreeca/core - v0.9.18
    Preparing search index...

    Function isPromise

    • Checks if a value is a promise.

      Type Parameters

      • T = unknown

        The type of the promised value

      Parameters

      • value: unknown

        The value to check

      Returns value is Promise<T>

      True if the value is a thenable object (has a then method); false otherwise