@nevware21/ts-utils
    Preparing search index...

    Function isPromise

    • Checks if the type of value is a Promise instance (contains then and catch functions).

      Type Parameters

      • T

      Parameters

      • value: any

        Value to be checked.

      Returns value is Promise<T>

      True if the value is a Promise, false otherwise.