UNPKG

@arrows/array

Version:
14 lines (13 loc) 415 B
declare type ToLocaleString = <T>(arr: T[]) => string; /** * Functional wrapper for Array.prototype.toLocaleString * * Creates a string representation of an array. * The elements are converted to string using their toLocalString methods. * * @param arr Initial array * @returns String representation */ declare const toLocaleString: ToLocaleString; export { toLocaleString }; export default toLocaleString;