mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 12:45:45 +01:00
7 lines
141 B
TypeScript
7 lines
141 B
TypeScript
/**
|
|
* Returns the input array as a comma separated string.
|
|
*/
|
|
export function arrayToString<T>(a: T[]) {
|
|
return `[${a.join(", ")}]`;
|
|
}
|