<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [\_Promise](./rc-js-util._promise.md) &gt; [rejectNull](./rc-js-util._promise.rejectnull.md)

## \_Promise.rejectNull property

Returns a Promise of rejection with the supplied error if the value is `null` or `undefined`<!-- -->.

**Signature:**

```typescript
static readonly rejectNull: typeof promiseRejectNull;
```

## Remarks

See [promiseRejectNull()](./rc-js-util.promiserejectnull.md)<!-- -->.

