Function
join
(maybeArray, separator = "")
Source from the content-addressed store, hash-verified
| 4163 | } |
| 4164 | }; |
| 4165 | function join(maybeArray, separator = "") { |
| 4166 | var _maybeArray$filter$jo; |
| 4167 | return (_maybeArray$filter$jo = maybeArray === null || maybeArray === void 0 ? void 0 : maybeArray.filter((x) => x).join(separator)) !== null && _maybeArray$filter$jo !== void 0 ? _maybeArray$filter$jo : ""; |
| 4168 | } |
| 4169 | function block(array) { |
| 4170 | return wrap("{\n", indent(join(array, "\n")), "\n}"); |
| 4171 | } |
Tested by
no test coverage detected