UNPKG

@abaplint/runtime

Version:
15 lines 466 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.concat_lines_of = concat_lines_of; const string_1 = require("../types/string"); function concat_lines_of(input) { let s = input.sep; if (s === undefined) { s = ""; } else if (typeof s !== "string") { s = s.get(); } return new string_1.String().set(input.table.array().map(e => e.get()).join(s)); } //# sourceMappingURL=concat_lines_of.js.map