UNPKG

lakutata

Version:

An IoC-based universal application framework.

8 lines (5 loc) 208 B
import { isPromise as t } from "util/types"; function o(o) { return t(o) ? true : !!o && (typeof o === "object" || typeof o === "function") && typeof o.then === "function"; } export { o as IsPromise };