UNPKG

@abaplint/runtime

Version:
19 lines 580 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LINE_NOT_FOUND = void 0; exports.line_exists = line_exists; const is_line_not_found_1 = require("../is_line_not_found"); exports.LINE_NOT_FOUND = "CX_SY_ITAB_LINE_NOT_FOUND"; async function line_exists(callback) { try { await callback(); } catch (error) { if ((0, is_line_not_found_1.isLineNotFound)(error)) { return abap.builtin.abap_false; } throw error; } return abap.builtin.abap_true; } //# sourceMappingURL=line_exists.js.map