isPromiseRaw

external fun isPromiseRaw(value: Any?): Boolean(source)

Returns true if the value is a built-in Promise.

util.types.isPromise(Promise.resolve(42));  // Returns true

Since

v10.0.0