Linux Mint
My Places
Sign in
Community
Software
Users
Moderation
Beta Testing
ISO Images
Teams
node-p-is-promise
Check if something is a promise
https://github.com/sindresorhus/p-is-promise#readme
0
no reviews
Install
Just pass your value to Promise.resolve() and let it handle it.
Can be useful if you need to create a fast path for a synchronous operation.
Node.js is an event-based server-side JavaScript engine.