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.

10 lines 393 B
/** * @public * Replaces length 0 strings with `undefined`. * @returns `input` if it's a `string` of length greater than 0, otherwise `undefined`. * * @remarks * See {@link stringNormalizeEmptyToUndefined}. */ export declare function stringNormalizeEmptyToUndefined(input: string | null | undefined): string | undefined; //# sourceMappingURL=string-normalize-empty-to-undefined.d.ts.map