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.

8 lines 262 B
/** * @public * Returns the value if the predicate is true, else null. * @remarks * See {@link fpValueOrNull}. */ export declare function fpValueOrNull<TValue>(predicate: boolean, value: TValue): TValue | null; //# sourceMappingURL=fp-value-or-null.d.ts.map