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

    Function isThenable

    • Checks if the type of value is a PromiseLike instance (contains a then function). This is an alias for isPromiseLike.

      Type Parameters

      • T

      Parameters

      • value: any

        Value to be checked.

      Returns value is PromiseLike<T>

      True if the value is a PromiseLike, false otherwise.