UNPKG

@arrows/array

Version:
13 lines (12 loc) 304 B
declare type ToString = <T>(arr: T[]) => string; /** * Functional wrapper for Array.prototype.toString * * Creates a string representation of an array. * * @param arr Initial array * @returns String representation */ declare const toString: ToString; export { toString }; export default toString;