deno.land / x / mongoose@6.7.5 / lib / helpers / isPromise.js
1234567'use strict';function isPromise(val) { return !!val && (typeof val === 'object' || typeof val === 'function') && typeof val.then === 'function';}
module.exports = isPromise;
Version Info