js-util

Home > rc-js-util > _Promise > rejectFalsey

_Promise.rejectFalsey property

Returns a Promise of rejection with the supplied error if the value is falsy.

Signature:

static readonly rejectFalsey: typeof promiseRejectFalsey;

Remarks

See promiseRejectFalsey().