UNPKG

normalize-text

Version:

Provides a simple API to normalize texts, white-spaces, paragraphs & diacritics.

9 lines 299 B
/** * Resolves a value to an array, if it isn't already an array. * @template T * @param {T | readonly T[]} value * @returns {readonly T[]} */ declare const resolveToArray: <T>(value: T | readonly T[]) => readonly T[]; export default resolveToArray; //# sourceMappingURL=resolveToArray.d.ts.map