UNPKG

on-error-resume-next

Version:

Run a function, synchronously or asynchronously, and ignore errors.

9 lines (8 loc) 263 B
// src/private/isPromise.ts function isPromise(value) { return !!((typeof value === "function" || typeof value === "object") && value && "then" in value && typeof value.then === "function"); } export { isPromise }; //# sourceMappingURL=chunk-MBTBSBLB.mjs.map