isPromise

Source
import { isPromise } from "@prestojs/util";
isPromise(value)
Source

Arguments:

ArgumentTypeDescription
*valueany
Returns:boolean