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.

14 lines 295 B
/** * @public * Normalizes `null` input to `undefined`. * * @remarks * See {@link fpNormalizeToUndefined}. */ export function fpNormalizeToUndefined(value) { if (value === null) { return undefined; } return value; } //# sourceMappingURL=fp-normalize-to-undefined.js.map