UNPKG

@abaplint/runtime

Version:
14 lines 488 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.lines = lines; const types_1 = require("../types"); function lines(input) { if (input.val instanceof types_1.FieldSymbol) { if (input.val.getPointer() === undefined) { throw new Error("GETWA_NOT_ASSIGNED"); } return lines({ val: input.val.getPointer() }); } return new types_1.Integer().set(input.val.getArrayLength()); } //# sourceMappingURL=lines.js.map