UNPKG

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) 487 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [\_Fp](./rc-js-util._fp.md) &gt; [valueOrNull](./rc-js-util._fp.valueornull.md) ## \_Fp.valueOrNull property Returns the value if the predicate is true, else null. **Signature:** ```typescript static readonly valueOrNull: typeof fpValueOrNull; ``` ## Remarks See [fpValueOrNull()](./rc-js-util.fpvalueornull.md)<!-- -->.