@metreeca/core - v0.9.1
    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

      Returns value is Promise<T>

      true if the value is a thenable object (has a then method)