mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +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(", ")}]`;
|
|
}
|