js-util

Home > rc-js-util > _Promise > rejectNull

_Promise.rejectNull property

Returns a Promise of rejection with the supplied error if the value is null or undefined.

Signature:

static readonly rejectNull: typeof promiseRejectNull;

Remarks

See promiseRejectNull().