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