@amphibian/is-promise

1.0.1 • Public • Published

is-promise

promise type checker

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

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

Readme

Keywords

none

Package Sidebar

Install

npm i @amphibian/is-promise

Weekly Downloads

3

Version

1.0.1

License

ISC

Last publish

Collaborators

  • thomaslindstr_m