* Returns a single string from array. * @param {string | string[]} str string or string collection * @returns {string} returns a single string from array
(str)
| 262 | * @returns {string} returns a single string from array |
| 263 | */ |
| 264 | static asString(str) { |
| 265 | if (Array.isArray(str)) { |
| 266 | return str.join("\n"); |
| 267 | } |
| 268 | return str; |
| 269 | } |
| 270 | |
| 271 | /** |
| 272 | * Defines the with id type used by this module. |
no test coverage detected