UNPKG

lakutata

Version:

An IoC-based universal application framework.

12 lines (8 loc) 218 B
import { IsPromise as t } from "./IsPromise.mjs"; import "util/types"; function n(n) { if (t(n)) return true; const {then: r} = n || false; return r instanceof Function; } export { n as IsPromiseLike };