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.

18 lines 463 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.fpNormalizeToUndefined = void 0; /** * @public * Normalizes `null` input to `undefined`. * * @remarks * See {@link fpNormalizeToUndefined}. */ function fpNormalizeToUndefined(value) { if (value === null) { return undefined; } return value; } exports.fpNormalizeToUndefined = fpNormalizeToUndefined; //# sourceMappingURL=fp-normalize-to-undefined.js.map