Skip to content
Sections
>> Trisquel >> Packages >> aramo >> javascript >> node-p-is-promise
nabia  ] [  aramo  ]
[ Source: node-p-is-promise  ]

Package: node-p-is-promise (3.0.0-2)

Check if something is a promise

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.

Download node-p-is-promise

Download for all available architectures
Architecture Package Size Installed Size Files
all 3.9 kB15 kB [list of files]