Signature
path=null start=null
Parameters
- arr:
any[]- The array to be converted.
Returns
string - The input array converted to a string, with elements separated by commas.
Example
path=null start=null
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Converts an array to a string.
arrToString(arr: any[]): string
any[] - The array to be converted.string - The input array converted to a string, with elements separated by commas.
const result = arrToString(['hello', 'world'])
console.log(result) // 'hello,world'