@amphibian/is-promise

promise type checker

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
Minified + gzip package size for @amphibian/is-promise in KB

Readme

is-promise

promise type checker

npm install @amphibian/is-promise
var isPromise = require('@amphibian/is-promise');

isPromise(new Promise()); // > true
isPromise(''); // > false

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.