marcuspoehls marcus@futurestud.io
Determine whether the given promise is a Promise.
promise
isPromise('no') // falseisPromise(new Promise(() => {})) // true Copy
isPromise('no') // falseisPromise(new Promise(() => {})) // true
Author
marcuspoehls marcus@futurestud.io
Determine whether the given
promiseis a Promise.Example