Sharkey/src/web/app/common/scripts/is-promise.js

2 lines
51 B
JavaScript
Raw Normal View History

2017-02-18 08:52:14 +01:00
module.exports = x => typeof x.then == 'function';