Function isPromise

  • Verifies if the given value is a Promise or not.

    Type Parameters

    • T

    Parameters

    Returns object is Promise<T>