English
Appearance
Determine whether the input value is a Promise.
Promise
import { isPromise } from 'rattail' isPromise(Promise.resolve()) // return true isPromise({}) // return false
value
any
boolean