UNPKG

lakutata

Version:

An IoC-based universal application framework.

14 lines (9 loc) 295 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const e = require("util/types"); function t(t) { return e.isPromise(t) ? true : !!t && (typeof t === "object" || typeof t === "function") && typeof t.then === "function"; } exports.IsPromise = t;