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