rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
19 lines (10 loc) • 547 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [\_Promise](./rc-js-util._promise.md) > [rejectFalse](./rc-js-util._promise.rejectfalse.md)
## \_Promise.rejectFalse property
Returns a Promise of rejection with the supplied error if the `value` is false.
**Signature:**
```typescript
static readonly rejectFalse: typeof promiseRejectFalse;
```
## Remarks
See [promiseRejectFalse()](./rc-js-util.promiserejectfalse.md)<!-- -->.