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