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 410 B
/** * @public * Replaces `null` / `undefined` with an empty `string`. * @returns `input` if it's a `string` of length greater than 0, otherwise an empty `string`. * * @remarks * See {@link stringNormalizeNullUndefinedToEmpty}. */ export declare function stringNormalizeNullUndefinedToEmpty(input: string | null | undefined): string; //# sourceMappingURL=string-normalize-null-undefined-to-empty.d.ts.map