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.

9 lines 282 B
/** * @public * Returns the newValue if defined, else the old value. * * @remarks * See {@link fpMaybeNewValue}. */ export declare function fpMaybeNewValue<TValue>(newValue: TValue | null | undefined, oldValue: TValue): TValue; //# sourceMappingURL=fp-maybe-new-value.d.ts.map