@arrows/array
Version:
Functional tools for JS arrays
13 lines (12 loc) • 304 B
TypeScript
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;