is-promise
promise type checker
npm install @amphibian/is-promise
var isPromise = require('@amphibian/is-promise');
isPromise(new Promise()); // > true
isPromise(''); // > false
promise type checker
npm install @amphibian/is-promise
var isPromise = require('@amphibian/is-promise');
isPromise(new Promise()); // > true
isPromise(''); // > false
npm i @amphibian/is-promise
3
1.0.1
ISC