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) • 554 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) > [rejectFalsey](./rc-js-util._promise.rejectfalsey.md)
## \_Promise.rejectFalsey property
Returns a Promise of rejection with the supplied error if the `value` is falsy.
**Signature:**
```typescript
static readonly rejectFalsey: typeof promiseRejectFalsey;
```
## Remarks
See [promiseRejectFalsey()](./rc-js-util.promiserejectfalsey.md)<!-- -->.