@abaplint/runtime 2.5.38 → 2.5.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/abap_regex.d.ts +4 -4
- package/build/src/abap_regex.js +18 -18
- package/build/src/binary_search.d.ts +5 -5
- package/build/src/binary_search.js +48 -48
- package/build/src/builtin/abs.d.ts +5 -5
- package/build/src/builtin/abs.js +17 -17
- package/build/src/builtin/boolc.d.ts +4 -4
- package/build/src/builtin/boolc.js +22 -22
- package/build/src/builtin/ceil.d.ts +5 -5
- package/build/src/builtin/ceil.js +17 -17
- package/build/src/builtin/concat_lines_of.d.ts +7 -7
- package/build/src/builtin/concat_lines_of.js +15 -15
- package/build/src/builtin/condense.d.ts +9 -9
- package/build/src/builtin/condense.js +28 -28
- package/build/src/builtin/contains.d.ts +12 -12
- package/build/src/builtin/contains.js +15 -15
- package/build/src/builtin/cos.d.ts +5 -5
- package/build/src/builtin/cos.js +22 -22
- package/build/src/builtin/count.d.ts +12 -12
- package/build/src/builtin/count.js +37 -37
- package/build/src/builtin/count_any_of.d.ts +8 -8
- package/build/src/builtin/count_any_of.js +17 -17
- package/build/src/builtin/escape.d.ts +7 -7
- package/build/src/builtin/escape.js +30 -30
- package/build/src/builtin/find.d.ts +13 -13
- package/build/src/builtin/find.js +57 -57
- package/build/src/builtin/floor.d.ts +5 -5
- package/build/src/builtin/floor.js +17 -17
- package/build/src/builtin/frac.d.ts +6 -6
- package/build/src/builtin/frac.js +40 -40
- package/build/src/builtin/index.d.ts +47 -47
- package/build/src/builtin/index.js +64 -64
- package/build/src/builtin/insert.d.ts +9 -9
- package/build/src/builtin/insert.js +15 -15
- package/build/src/builtin/ipow.d.ts +6 -6
- package/build/src/builtin/ipow.js +27 -27
- package/build/src/builtin/lines.d.ts +4 -4
- package/build/src/builtin/lines.js +8 -8
- package/build/src/builtin/match.d.ts +5 -5
- package/build/src/builtin/match.js +22 -22
- package/build/src/builtin/matches.d.ts +6 -6
- package/build/src/builtin/matches.js +29 -29
- package/build/src/builtin/nmax.d.ts +14 -14
- package/build/src/builtin/nmax.js +34 -34
- package/build/src/builtin/nmin.d.ts +14 -14
- package/build/src/builtin/nmin.js +34 -34
- package/build/src/builtin/numofchar.d.ts +5 -5
- package/build/src/builtin/numofchar.js +15 -15
- package/build/src/builtin/repeat.d.ts +6 -6
- package/build/src/builtin/repeat.js +9 -9
- package/build/src/builtin/replace.d.ts +13 -13
- package/build/src/builtin/replace.js +65 -65
- package/build/src/builtin/reverse.d.ts +5 -5
- package/build/src/builtin/reverse.js +16 -16
- package/build/src/builtin/round.d.ts +8 -8
- package/build/src/builtin/round.js +41 -41
- package/build/src/builtin/segment.d.ts +8 -8
- package/build/src/builtin/segment.js +32 -32
- package/build/src/builtin/shift_left.d.ts +9 -9
- package/build/src/builtin/shift_left.js +30 -30
- package/build/src/builtin/sign.d.ts +5 -5
- package/build/src/builtin/sign.js +17 -17
- package/build/src/builtin/sin.d.ts +5 -5
- package/build/src/builtin/sin.js +22 -22
- package/build/src/builtin/sqrt.d.ts +5 -5
- package/build/src/builtin/sqrt.js +22 -22
- package/build/src/builtin/strlen.d.ts +5 -5
- package/build/src/builtin/strlen.js +15 -15
- package/build/src/builtin/substring.d.ts +8 -8
- package/build/src/builtin/substring.js +28 -28
- package/build/src/builtin/substring_after.d.ts +6 -6
- package/build/src/builtin/substring_after.js +28 -28
- package/build/src/builtin/substring_before.d.ts +6 -6
- package/build/src/builtin/substring_before.js +28 -28
- package/build/src/builtin/sy.d.ts +2 -2
- package/build/src/builtin/sy.js +30 -30
- package/build/src/builtin/tan.d.ts +5 -5
- package/build/src/builtin/tan.js +22 -22
- package/build/src/builtin/to_lower.d.ts +4 -4
- package/build/src/builtin/to_lower.js +9 -9
- package/build/src/builtin/to_mixed.d.ts +9 -9
- package/build/src/builtin/to_mixed.js +48 -48
- package/build/src/builtin/to_upper.d.ts +4 -4
- package/build/src/builtin/to_upper.js +9 -9
- package/build/src/builtin/translate.d.ts +6 -6
- package/build/src/builtin/translate.js +19 -19
- package/build/src/builtin/trunc.d.ts +5 -5
- package/build/src/builtin/trunc.js +17 -17
- package/build/src/builtin/xstrlen.d.ts +5 -5
- package/build/src/builtin/xstrlen.js +13 -13
- package/build/src/classic_error.d.ts +6 -6
- package/build/src/classic_error.js +10 -10
- package/build/src/clone.d.ts +1 -1
- package/build/src/clone.js +37 -37
- package/build/src/compare/assigned.d.ts +2 -2
- package/build/src/compare/assigned.js +7 -7
- package/build/src/compare/between.d.ts +2 -2
- package/build/src/compare/between.js +9 -9
- package/build/src/compare/ca.d.ts +3 -3
- package/build/src/compare/ca.js +36 -36
- package/build/src/compare/cn.d.ts +3 -3
- package/build/src/compare/cn.js +8 -8
- package/build/src/compare/co.d.ts +4 -4
- package/build/src/compare/co.js +37 -37
- package/build/src/compare/cp.d.ts +4 -4
- package/build/src/compare/cp.js +48 -48
- package/build/src/compare/cs.d.ts +3 -3
- package/build/src/compare/cs.js +33 -33
- package/build/src/compare/eq.d.ts +4 -4
- package/build/src/compare/eq.js +134 -134
- package/build/src/compare/ge.d.ts +3 -3
- package/build/src/compare/ge.js +8 -8
- package/build/src/compare/gt.d.ts +4 -4
- package/build/src/compare/gt.js +107 -107
- package/build/src/compare/in.d.ts +4 -4
- package/build/src/compare/in.js +34 -34
- package/build/src/compare/index.d.ts +22 -22
- package/build/src/compare/index.js +40 -40
- package/build/src/compare/initial.d.ts +4 -4
- package/build/src/compare/initial.js +63 -63
- package/build/src/compare/instance_of.d.ts +2 -2
- package/build/src/compare/instance_of.js +7 -7
- package/build/src/compare/le.d.ts +3 -3
- package/build/src/compare/le.js +8 -8
- package/build/src/compare/lt.d.ts +4 -4
- package/build/src/compare/lt.js +8 -8
- package/build/src/compare/m.d.ts +3 -3
- package/build/src/compare/m.js +37 -37
- package/build/src/compare/na.d.ts +3 -3
- package/build/src/compare/na.js +8 -8
- package/build/src/compare/ne.d.ts +3 -3
- package/build/src/compare/ne.js +8 -8
- package/build/src/compare/np.d.ts +3 -3
- package/build/src/compare/np.js +8 -8
- package/build/src/compare/ns.d.ts +3 -3
- package/build/src/compare/ns.js +8 -8
- package/build/src/compare/o.d.ts +2 -2
- package/build/src/compare/o.js +28 -28
- package/build/src/compare/z.d.ts +2 -2
- package/build/src/compare/z.js +28 -28
- package/build/src/console.d.ts +7 -7
- package/build/src/console.js +21 -21
- package/build/src/context.d.ts +13 -13
- package/build/src/context.js +17 -17
- package/build/src/db/db.d.ts +55 -55
- package/build/src/db/db.js +2 -2
- package/build/src/expand_dynamic.d.ts +2 -2
- package/build/src/expand_dynamic.js +22 -22
- package/build/src/expand_in.d.ts +2 -2
- package/build/src/expand_in.js +24 -24
- package/build/src/index.d.ts +52 -52
- package/build/src/index.js +54 -54
- package/build/src/offset_length.d.ts +16 -16
- package/build/src/offset_length.js +78 -78
- package/build/src/operators/_bit_operations.d.ts +6 -6
- package/build/src/operators/_bit_operations.js +29 -29
- package/build/src/operators/_parse.d.ts +4 -4
- package/build/src/operators/_parse.js +45 -45
- package/build/src/operators/add.d.ts +4 -4
- package/build/src/operators/add.js +42 -42
- package/build/src/operators/bit-and.d.ts +2 -2
- package/build/src/operators/bit-and.js +18 -18
- package/build/src/operators/bit-not.d.ts +2 -2
- package/build/src/operators/bit-not.js +14 -14
- package/build/src/operators/bit-or.d.ts +2 -2
- package/build/src/operators/bit-or.js +18 -18
- package/build/src/operators/bit-xor.d.ts +2 -2
- package/build/src/operators/bit-xor.js +18 -18
- package/build/src/operators/concat.d.ts +4 -4
- package/build/src/operators/concat.js +35 -35
- package/build/src/operators/div.d.ts +4 -4
- package/build/src/operators/div.js +12 -12
- package/build/src/operators/divide.d.ts +4 -4
- package/build/src/operators/divide.js +16 -16
- package/build/src/operators/index.d.ts +12 -12
- package/build/src/operators/index.js +28 -28
- package/build/src/operators/minus.d.ts +4 -4
- package/build/src/operators/minus.js +41 -41
- package/build/src/operators/mod.d.ts +4 -4
- package/build/src/operators/mod.js +12 -12
- package/build/src/operators/multiply.d.ts +4 -4
- package/build/src/operators/multiply.js +29 -29
- package/build/src/operators/power.d.ts +4 -4
- package/build/src/operators/power.js +9 -9
- package/build/src/rfc.d.ts +25 -25
- package/build/src/rfc.js +2 -2
- package/build/src/statements/append.d.ts +13 -13
- package/build/src/statements/append.js +66 -66
- package/build/src/statements/assert.d.ts +1 -1
- package/build/src/statements/assert.js +9 -9
- package/build/src/statements/assign.d.ts +12 -12
- package/build/src/statements/assign.js +136 -136
- package/build/src/statements/call_function.d.ts +15 -15
- package/build/src/statements/call_function.js +35 -35
- package/build/src/statements/cast.d.ts +2 -2
- package/build/src/statements/cast.js +56 -56
- package/build/src/statements/clear.d.ts +4 -4
- package/build/src/statements/clear.js +7 -7
- package/build/src/statements/collect.d.ts +3 -3
- package/build/src/statements/collect.js +13 -13
- package/build/src/statements/commit.d.ts +1 -1
- package/build/src/statements/commit.js +7 -7
- package/build/src/statements/concatenate.d.ts +11 -11
- package/build/src/statements/concatenate.js +47 -47
- package/build/src/statements/condense.d.ts +4 -4
- package/build/src/statements/condense.js +15 -15
- package/build/src/statements/convert.d.ts +14 -14
- package/build/src/statements/convert.js +78 -78
- package/build/src/statements/create_data.d.ts +16 -16
- package/build/src/statements/create_data.js +154 -154
- package/build/src/statements/delete_database.d.ts +13 -13
- package/build/src/statements/delete_database.js +51 -51
- package/build/src/statements/delete_internal.d.ts +12 -12
- package/build/src/statements/delete_internal.js +106 -99
- package/build/src/statements/describe.d.ts +13 -13
- package/build/src/statements/describe.js +89 -89
- package/build/src/statements/find.d.ts +17 -17
- package/build/src/statements/find.js +173 -168
- package/build/src/statements/get_bit.d.ts +4 -4
- package/build/src/statements/get_bit.js +12 -12
- package/build/src/statements/get_locale.d.ts +2 -2
- package/build/src/statements/get_locale.js +8 -8
- package/build/src/statements/get_parameter.d.ts +2 -2
- package/build/src/statements/get_parameter.js +9 -9
- package/build/src/statements/get_run_time.d.ts +2 -2
- package/build/src/statements/get_run_time.js +16 -16
- package/build/src/statements/get_time.d.ts +9 -9
- package/build/src/statements/get_time.js +30 -30
- package/build/src/statements/index.d.ts +96 -96
- package/build/src/statements/index.js +115 -115
- package/build/src/statements/insert_database.d.ts +13 -13
- package/build/src/statements/insert_database.js +56 -56
- package/build/src/statements/insert_internal.d.ts +13 -13
- package/build/src/statements/insert_internal.js +113 -113
- package/build/src/statements/loop.d.ts +15 -15
- package/build/src/statements/loop.js +115 -115
- package/build/src/statements/message.d.ts +17 -17
- package/build/src/statements/message.js +89 -89
- package/build/src/statements/modify_database.d.ts +12 -12
- package/build/src/statements/modify_database.js +39 -39
- package/build/src/statements/modify_internal.d.ts +7 -7
- package/build/src/statements/modify_internal.js +29 -29
- package/build/src/statements/move_corresponding.d.ts +2 -2
- package/build/src/statements/move_corresponding.js +10 -10
- package/build/src/statements/overlay.d.ts +3 -3
- package/build/src/statements/overlay.js +16 -16
- package/build/src/statements/raise_event.d.ts +1 -1
- package/build/src/statements/raise_event.js +8 -8
- package/build/src/statements/read_report.d.ts +8 -8
- package/build/src/statements/read_report.js +14 -14
- package/build/src/statements/read_table.d.ts +22 -22
- package/build/src/statements/read_table.js +130 -130
- package/build/src/statements/replace.d.ts +13 -13
- package/build/src/statements/replace.js +60 -60
- package/build/src/statements/rollback.d.ts +1 -1
- package/build/src/statements/rollback.js +7 -7
- package/build/src/statements/select.d.ts +8 -8
- package/build/src/statements/select.js +77 -77
- package/build/src/statements/set_bit.d.ts +4 -4
- package/build/src/statements/set_bit.js +41 -41
- package/build/src/statements/set_handler.d.ts +3 -3
- package/build/src/statements/set_handler.js +8 -8
- package/build/src/statements/set_locale.d.ts +2 -2
- package/build/src/statements/set_locale.js +7 -7
- package/build/src/statements/shift.d.ts +12 -12
- package/build/src/statements/shift.js +113 -113
- package/build/src/statements/sort.d.ts +9 -9
- package/build/src/statements/sort.js +82 -82
- package/build/src/statements/split.d.ts +9 -9
- package/build/src/statements/split.js +38 -38
- package/build/src/statements/translate.d.ts +2 -2
- package/build/src/statements/translate.js +39 -39
- package/build/src/statements/update_database.d.ts +14 -14
- package/build/src/statements/update_database.js +53 -53
- package/build/src/statements/write.d.ts +17 -17
- package/build/src/statements/write.js +56 -56
- package/build/src/template_formatting.d.ts +14 -14
- package/build/src/template_formatting.js +82 -82
- package/build/src/throw_error.d.ts +1 -1
- package/build/src/throw_error.js +14 -14
- package/build/src/types/_abstract_type_data.d.ts +5 -5
- package/build/src/types/_abstract_type_data.js +2 -2
- package/build/src/types/_character.d.ts +11 -11
- package/build/src/types/_character.js +2 -2
- package/build/src/types/_date_helper.d.ts +2 -2
- package/build/src/types/_date_helper.js +40 -40
- package/build/src/types/_numeric.d.ts +5 -5
- package/build/src/types/_numeric.js +2 -2
- package/build/src/types/abap_object.d.ts +11 -11
- package/build/src/types/abap_object.js +32 -32
- package/build/src/types/character.d.ts +26 -26
- package/build/src/types/character.js +111 -111
- package/build/src/types/data_reference.d.ts +28 -28
- package/build/src/types/data_reference.js +88 -88
- package/build/src/types/date.d.ts +20 -20
- package/build/src/types/date.js +66 -66
- package/build/src/types/decfloat34.d.ts +11 -11
- package/build/src/types/decfloat34.js +45 -45
- package/build/src/types/field_symbol.d.ts +32 -32
- package/build/src/types/field_symbol.js +115 -115
- package/build/src/types/float.d.ts +15 -15
- package/build/src/types/float.js +74 -74
- package/build/src/types/hex.d.ts +20 -20
- package/build/src/types/hex.js +81 -81
- package/build/src/types/index.d.ts +17 -17
- package/build/src/types/index.js +33 -33
- package/build/src/types/integer.d.ts +15 -15
- package/build/src/types/integer.js +56 -56
- package/build/src/types/numc.d.ts +21 -21
- package/build/src/types/numc.js +48 -48
- package/build/src/types/packed.d.ts +19 -19
- package/build/src/types/packed.js +53 -53
- package/build/src/types/string.d.ts +19 -19
- package/build/src/types/string.js +86 -86
- package/build/src/types/structure.d.ts +23 -23
- package/build/src/types/structure.js +113 -113
- package/build/src/types/table.d.ts +55 -55
- package/build/src/types/table.js +220 -220
- package/build/src/types/time.d.ts +20 -20
- package/build/src/types/time.js +67 -67
- package/build/src/types/utc_long.d.ts +18 -18
- package/build/src/types/utc_long.js +26 -26
- package/build/src/types/xstring.d.ts +18 -18
- package/build/src/types/xstring.js +70 -70
- package/build/src/unit_test.d.ts +26 -26
- package/build/src/unit_test.js +75 -75
- package/package.json +2 -2
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.translate = void 0;
|
|
4
|
-
const string_1 = require("../types/string");
|
|
5
|
-
function translate(input) {
|
|
6
|
-
let val = typeof input.val === "string" ? input.val : input.val.get();
|
|
7
|
-
const from = typeof input.from === "string" ? input.from : input.from.get();
|
|
8
|
-
const to = typeof input.to === "string" ? input.to : input.to.get();
|
|
9
|
-
const fromSplit = from.split("");
|
|
10
|
-
const toSplit = to.split("");
|
|
11
|
-
const chars = {};
|
|
12
|
-
for (let i = 0; i < fromSplit.length; i++) {
|
|
13
|
-
chars[fromSplit[i]] = toSplit[i] || "";
|
|
14
|
-
}
|
|
15
|
-
const reg = new RegExp("[" + from + "]", "g");
|
|
16
|
-
val = val.replace(reg, m => chars[m] || "");
|
|
17
|
-
return new string_1.String().set(val);
|
|
18
|
-
}
|
|
19
|
-
exports.translate = translate;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.translate = void 0;
|
|
4
|
+
const string_1 = require("../types/string");
|
|
5
|
+
function translate(input) {
|
|
6
|
+
let val = typeof input.val === "string" ? input.val : input.val.get();
|
|
7
|
+
const from = typeof input.from === "string" ? input.from : input.from.get();
|
|
8
|
+
const to = typeof input.to === "string" ? input.to : input.to.get();
|
|
9
|
+
const fromSplit = from.split("");
|
|
10
|
+
const toSplit = to.split("");
|
|
11
|
+
const chars = {};
|
|
12
|
+
for (let i = 0; i < fromSplit.length; i++) {
|
|
13
|
+
chars[fromSplit[i]] = toSplit[i] || "";
|
|
14
|
+
}
|
|
15
|
+
const reg = new RegExp("[" + from + "]", "g");
|
|
16
|
+
val = val.replace(reg, m => chars[m] || "");
|
|
17
|
+
return new string_1.String().set(val);
|
|
18
|
+
}
|
|
19
|
+
exports.translate = translate;
|
|
20
20
|
//# sourceMappingURL=translate.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ICharacter } from "../types/_character";
|
|
2
|
-
import { INumeric } from "../types/_numeric";
|
|
3
|
-
export declare function trunc(input: {
|
|
4
|
-
val: number | string | ICharacter | INumeric;
|
|
5
|
-
}): number;
|
|
1
|
+
import { ICharacter } from "../types/_character";
|
|
2
|
+
import { INumeric } from "../types/_numeric";
|
|
3
|
+
export declare function trunc(input: {
|
|
4
|
+
val: number | string | ICharacter | INumeric;
|
|
5
|
+
}): number;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.trunc = void 0;
|
|
4
|
-
function trunc(input) {
|
|
5
|
-
let num_in = undefined;
|
|
6
|
-
if (typeof input.val === "number") {
|
|
7
|
-
num_in = input.val;
|
|
8
|
-
}
|
|
9
|
-
else if (typeof input.val === "string") {
|
|
10
|
-
num_in = parseFloat(input.val);
|
|
11
|
-
}
|
|
12
|
-
else {
|
|
13
|
-
num_in = parseFloat(input.val.get().toString());
|
|
14
|
-
}
|
|
15
|
-
return Math.trunc(num_in);
|
|
16
|
-
}
|
|
17
|
-
exports.trunc = trunc;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.trunc = void 0;
|
|
4
|
+
function trunc(input) {
|
|
5
|
+
let num_in = undefined;
|
|
6
|
+
if (typeof input.val === "number") {
|
|
7
|
+
num_in = input.val;
|
|
8
|
+
}
|
|
9
|
+
else if (typeof input.val === "string") {
|
|
10
|
+
num_in = parseFloat(input.val);
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
num_in = parseFloat(input.val.get().toString());
|
|
14
|
+
}
|
|
15
|
+
return Math.trunc(num_in);
|
|
16
|
+
}
|
|
17
|
+
exports.trunc = trunc;
|
|
18
18
|
//# sourceMappingURL=trunc.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Integer } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
export declare function xstrlen(input: {
|
|
4
|
-
val: ICharacter | string;
|
|
5
|
-
}): Integer;
|
|
1
|
+
import { Integer } from "../types";
|
|
2
|
+
import { ICharacter } from "../types/_character";
|
|
3
|
+
export declare function xstrlen(input: {
|
|
4
|
+
val: ICharacter | string;
|
|
5
|
+
}): Integer;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.xstrlen = void 0;
|
|
4
|
-
const types_1 = require("../types");
|
|
5
|
-
function xstrlen(input) {
|
|
6
|
-
if (typeof input.val === "string") {
|
|
7
|
-
return new types_1.Integer().set(input.val.length / 2);
|
|
8
|
-
}
|
|
9
|
-
else {
|
|
10
|
-
return new types_1.Integer().set(input.val.get().length / 2);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.xstrlen = xstrlen;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.xstrlen = void 0;
|
|
4
|
+
const types_1 = require("../types");
|
|
5
|
+
function xstrlen(input) {
|
|
6
|
+
if (typeof input.val === "string") {
|
|
7
|
+
return new types_1.Integer().set(input.val.length / 2);
|
|
8
|
+
}
|
|
9
|
+
else {
|
|
10
|
+
return new types_1.Integer().set(input.val.get().length / 2);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.xstrlen = xstrlen;
|
|
14
14
|
//# sourceMappingURL=xstrlen.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare class ClassicError extends Error {
|
|
2
|
-
classic: string;
|
|
3
|
-
constructor(input: {
|
|
4
|
-
classic: string;
|
|
5
|
-
});
|
|
6
|
-
}
|
|
1
|
+
export declare class ClassicError extends Error {
|
|
2
|
+
classic: string;
|
|
3
|
+
constructor(input: {
|
|
4
|
+
classic: string;
|
|
5
|
+
});
|
|
6
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ClassicError = void 0;
|
|
4
|
-
class ClassicError extends Error {
|
|
5
|
-
constructor(input) {
|
|
6
|
-
super();
|
|
7
|
-
this.classic = input.classic;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
exports.ClassicError = ClassicError;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ClassicError = void 0;
|
|
4
|
+
class ClassicError extends Error {
|
|
5
|
+
constructor(input) {
|
|
6
|
+
super();
|
|
7
|
+
this.classic = input.classic;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.ClassicError = ClassicError;
|
|
11
11
|
//# sourceMappingURL=classic_error.js.map
|
package/build/src/clone.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function clone<T>(obj: T): T;
|
|
1
|
+
export declare function clone<T>(obj: T): T;
|
package/build/src/clone.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.clone = void 0;
|
|
4
|
-
const types_1 = require("./types");
|
|
5
|
-
function clone(obj) {
|
|
6
|
-
if (null == obj || "object" != typeof obj) {
|
|
7
|
-
return obj;
|
|
8
|
-
}
|
|
9
|
-
if (obj instanceof types_1.ABAPObject) {
|
|
10
|
-
const n = new types_1.ABAPObject();
|
|
11
|
-
n.set(obj.get());
|
|
12
|
-
// @ts-ignore
|
|
13
|
-
return n;
|
|
14
|
-
}
|
|
15
|
-
else if (obj instanceof types_1.DataReference) {
|
|
16
|
-
const n = new types_1.DataReference(obj.getType());
|
|
17
|
-
n.assign(obj.getPointer());
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return n;
|
|
20
|
-
}
|
|
21
|
-
// @ts-ignore
|
|
22
|
-
const copy = new obj.constructor();
|
|
23
|
-
for (const attr in obj) {
|
|
24
|
-
// @ts-ignore
|
|
25
|
-
// eslint-disable-next-line no-prototype-builtins
|
|
26
|
-
if (obj.hasOwnProperty(attr)) {
|
|
27
|
-
if (null == obj[attr] || "object" != typeof obj[attr]) {
|
|
28
|
-
copy[attr] = obj[attr];
|
|
29
|
-
}
|
|
30
|
-
else {
|
|
31
|
-
copy[attr] = clone(obj[attr]);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return copy;
|
|
36
|
-
}
|
|
37
|
-
exports.clone = clone;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.clone = void 0;
|
|
4
|
+
const types_1 = require("./types");
|
|
5
|
+
function clone(obj) {
|
|
6
|
+
if (null == obj || "object" != typeof obj) {
|
|
7
|
+
return obj;
|
|
8
|
+
}
|
|
9
|
+
if (obj instanceof types_1.ABAPObject) {
|
|
10
|
+
const n = new types_1.ABAPObject();
|
|
11
|
+
n.set(obj.get());
|
|
12
|
+
// @ts-ignore
|
|
13
|
+
return n;
|
|
14
|
+
}
|
|
15
|
+
else if (obj instanceof types_1.DataReference) {
|
|
16
|
+
const n = new types_1.DataReference(obj.getType());
|
|
17
|
+
n.assign(obj.getPointer());
|
|
18
|
+
// @ts-ignore
|
|
19
|
+
return n;
|
|
20
|
+
}
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
const copy = new obj.constructor();
|
|
23
|
+
for (const attr in obj) {
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
26
|
+
if (obj.hasOwnProperty(attr)) {
|
|
27
|
+
if (null == obj[attr] || "object" != typeof obj[attr]) {
|
|
28
|
+
copy[attr] = obj[attr];
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
copy[attr] = clone(obj[attr]);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return copy;
|
|
36
|
+
}
|
|
37
|
+
exports.clone = clone;
|
|
38
38
|
//# sourceMappingURL=clone.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { FieldSymbol } from "../types";
|
|
2
|
-
export declare function assigned(val: FieldSymbol): boolean;
|
|
1
|
+
import { FieldSymbol } from "../types";
|
|
2
|
+
export declare function assigned(val: FieldSymbol): boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.assigned = void 0;
|
|
4
|
-
function assigned(val) {
|
|
5
|
-
return val.isAssigned();
|
|
6
|
-
}
|
|
7
|
-
exports.assigned = assigned;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.assigned = void 0;
|
|
4
|
+
function assigned(val) {
|
|
5
|
+
return val.isAssigned();
|
|
6
|
+
}
|
|
7
|
+
exports.assigned = assigned;
|
|
8
8
|
//# sourceMappingURL=assigned.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { INumeric } from "../types/_numeric";
|
|
2
|
-
export declare function between(left: number | INumeric, and1: number | INumeric, and2: number | INumeric): boolean;
|
|
1
|
+
import { INumeric } from "../types/_numeric";
|
|
2
|
+
export declare function between(left: number | INumeric, and1: number | INumeric, and2: number | INumeric): boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.between = void 0;
|
|
4
|
-
const ge_1 = require("./ge");
|
|
5
|
-
const le_1 = require("./le");
|
|
6
|
-
function between(left, and1, and2) {
|
|
7
|
-
return (0, ge_1.ge)(left, and1) && (0, le_1.le)(left, and2);
|
|
8
|
-
}
|
|
9
|
-
exports.between = between;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.between = void 0;
|
|
4
|
+
const ge_1 = require("./ge");
|
|
5
|
+
const le_1 = require("./le");
|
|
6
|
+
function between(left, and1, and2) {
|
|
7
|
+
return (0, ge_1.ge)(left, and1) && (0, le_1.le)(left, and2);
|
|
8
|
+
}
|
|
9
|
+
exports.between = between;
|
|
10
10
|
//# sourceMappingURL=between.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ICharacter } from "../types/_character";
|
|
2
|
-
import { INumeric } from "../types/_numeric";
|
|
3
|
-
export declare function ca(left: number | string | ICharacter | INumeric, right: string | ICharacter): boolean;
|
|
1
|
+
import { ICharacter } from "../types/_character";
|
|
2
|
+
import { INumeric } from "../types/_numeric";
|
|
3
|
+
export declare function ca(left: number | string | ICharacter | INumeric, right: string | ICharacter): boolean;
|
package/build/src/compare/ca.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ca = void 0;
|
|
4
|
-
function ca(left, right) {
|
|
5
|
-
let l = "";
|
|
6
|
-
if (typeof left === "number" || typeof left === "string") {
|
|
7
|
-
l = left.toString();
|
|
8
|
-
}
|
|
9
|
-
else {
|
|
10
|
-
l = left.get().toString();
|
|
11
|
-
}
|
|
12
|
-
if (l === "") {
|
|
13
|
-
l = " ";
|
|
14
|
-
}
|
|
15
|
-
let r = "";
|
|
16
|
-
if (typeof right === "string") {
|
|
17
|
-
r = right.toString();
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
r = right.get().toString();
|
|
21
|
-
}
|
|
22
|
-
const characters = r.split("");
|
|
23
|
-
let fdpos = 0;
|
|
24
|
-
for (const c of l.split("")) {
|
|
25
|
-
if (characters.includes(c) === true) {
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
abap.builtin.sy.get().fdpos.set(fdpos);
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
fdpos++;
|
|
31
|
-
}
|
|
32
|
-
// @ts-ignore
|
|
33
|
-
abap.builtin.sy.get().fdpos.set(fdpos);
|
|
34
|
-
return false;
|
|
35
|
-
}
|
|
36
|
-
exports.ca = ca;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ca = void 0;
|
|
4
|
+
function ca(left, right) {
|
|
5
|
+
let l = "";
|
|
6
|
+
if (typeof left === "number" || typeof left === "string") {
|
|
7
|
+
l = left.toString();
|
|
8
|
+
}
|
|
9
|
+
else {
|
|
10
|
+
l = left.get().toString();
|
|
11
|
+
}
|
|
12
|
+
if (l === "") {
|
|
13
|
+
l = " ";
|
|
14
|
+
}
|
|
15
|
+
let r = "";
|
|
16
|
+
if (typeof right === "string") {
|
|
17
|
+
r = right.toString();
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
r = right.get().toString();
|
|
21
|
+
}
|
|
22
|
+
const characters = r.split("");
|
|
23
|
+
let fdpos = 0;
|
|
24
|
+
for (const c of l.split("")) {
|
|
25
|
+
if (characters.includes(c) === true) {
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
abap.builtin.sy.get().fdpos.set(fdpos);
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
fdpos++;
|
|
31
|
+
}
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
abap.builtin.sy.get().fdpos.set(fdpos);
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
exports.ca = ca;
|
|
37
37
|
//# sourceMappingURL=ca.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ICharacter } from "../types/_character";
|
|
2
|
-
import { INumeric } from "../types/_numeric";
|
|
3
|
-
export declare function cn(left: number | string | ICharacter | INumeric, right: string | ICharacter): boolean;
|
|
1
|
+
import { ICharacter } from "../types/_character";
|
|
2
|
+
import { INumeric } from "../types/_numeric";
|
|
3
|
+
export declare function cn(left: number | string | ICharacter | INumeric, right: string | ICharacter): boolean;
|
package/build/src/compare/cn.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.cn = void 0;
|
|
4
|
-
const co_1 = require("./co");
|
|
5
|
-
function cn(left, right) {
|
|
6
|
-
return (0, co_1.co)(left, right) === false;
|
|
7
|
-
}
|
|
8
|
-
exports.cn = cn;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.cn = void 0;
|
|
4
|
+
const co_1 = require("./co");
|
|
5
|
+
function cn(left, right) {
|
|
6
|
+
return (0, co_1.co)(left, right) === false;
|
|
7
|
+
}
|
|
8
|
+
exports.cn = cn;
|
|
9
9
|
//# sourceMappingURL=cn.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Structure } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export declare function co(left: number | string | ICharacter | INumeric, right: string | Structure | ICharacter): boolean;
|
|
1
|
+
import { Structure } from "../types";
|
|
2
|
+
import { ICharacter } from "../types/_character";
|
|
3
|
+
import { INumeric } from "../types/_numeric";
|
|
4
|
+
export declare function co(left: number | string | ICharacter | INumeric, right: string | Structure | ICharacter): boolean;
|
package/build/src/compare/co.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.co = void 0;
|
|
4
|
-
const types_1 = require("../types");
|
|
5
|
-
function co(left, right) {
|
|
6
|
-
let l = "";
|
|
7
|
-
if (typeof left === "number" || typeof left === "string") {
|
|
8
|
-
l = left.toString();
|
|
9
|
-
}
|
|
10
|
-
else {
|
|
11
|
-
l = left.get().toString();
|
|
12
|
-
}
|
|
13
|
-
let r = "";
|
|
14
|
-
if (typeof right === "string") {
|
|
15
|
-
r = right.toString();
|
|
16
|
-
}
|
|
17
|
-
else if (right instanceof types_1.Structure) {
|
|
18
|
-
r = Object.values(right.get()).map((a) => a.get()).join("");
|
|
19
|
-
}
|
|
20
|
-
else {
|
|
21
|
-
r = right.get().toString();
|
|
22
|
-
}
|
|
23
|
-
const characters = r.split("");
|
|
24
|
-
let fdpos = 0;
|
|
25
|
-
for (const c of l.split("")) {
|
|
26
|
-
if (characters.includes(c) === false) {
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
abap.builtin.sy.get().fdpos.set(fdpos);
|
|
29
|
-
return false;
|
|
30
|
-
}
|
|
31
|
-
fdpos++;
|
|
32
|
-
}
|
|
33
|
-
// @ts-ignore
|
|
34
|
-
abap.builtin.sy.get().fdpos.set(fdpos);
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
exports.co = co;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.co = void 0;
|
|
4
|
+
const types_1 = require("../types");
|
|
5
|
+
function co(left, right) {
|
|
6
|
+
let l = "";
|
|
7
|
+
if (typeof left === "number" || typeof left === "string") {
|
|
8
|
+
l = left.toString();
|
|
9
|
+
}
|
|
10
|
+
else {
|
|
11
|
+
l = left.get().toString();
|
|
12
|
+
}
|
|
13
|
+
let r = "";
|
|
14
|
+
if (typeof right === "string") {
|
|
15
|
+
r = right.toString();
|
|
16
|
+
}
|
|
17
|
+
else if (right instanceof types_1.Structure) {
|
|
18
|
+
r = Object.values(right.get()).map((a) => a.get()).join("");
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
r = right.get().toString();
|
|
22
|
+
}
|
|
23
|
+
const characters = r.split("");
|
|
24
|
+
let fdpos = 0;
|
|
25
|
+
for (const c of l.split("")) {
|
|
26
|
+
if (characters.includes(c) === false) {
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
abap.builtin.sy.get().fdpos.set(fdpos);
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
fdpos++;
|
|
32
|
+
}
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
abap.builtin.sy.get().fdpos.set(fdpos);
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
exports.co = co;
|
|
38
38
|
//# sourceMappingURL=co.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Structure } from "../types";
|
|
2
|
-
import { ICharacter } from "../types/_character";
|
|
3
|
-
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export declare function cp(left: number | string | ICharacter | INumeric | Structure, right: string | ICharacter): boolean;
|
|
1
|
+
import { Structure } from "../types";
|
|
2
|
+
import { ICharacter } from "../types/_character";
|
|
3
|
+
import { INumeric } from "../types/_numeric";
|
|
4
|
+
export declare function cp(left: number | string | ICharacter | INumeric | Structure, right: string | ICharacter): boolean;
|
package/build/src/compare/cp.js
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.cp = void 0;
|
|
4
|
-
const types_1 = require("../types");
|
|
5
|
-
function cp(left, right) {
|
|
6
|
-
let l = "";
|
|
7
|
-
if (typeof left === "number" || typeof left === "string") {
|
|
8
|
-
l = left.toString();
|
|
9
|
-
}
|
|
10
|
-
else if (left instanceof types_1.Structure) {
|
|
11
|
-
l = left.getCharacter();
|
|
12
|
-
}
|
|
13
|
-
else if (left instanceof types_1.FieldSymbol) {
|
|
14
|
-
if (left.getPointer() === undefined) {
|
|
15
|
-
throw new Error("GETWA_NOT_ASSIGNED");
|
|
16
|
-
}
|
|
17
|
-
return cp(left.getPointer(), right);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
l = left.get().toString();
|
|
21
|
-
}
|
|
22
|
-
let r = "";
|
|
23
|
-
if (typeof right === "string") {
|
|
24
|
-
r = right.toString();
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
r = right.get().toString();
|
|
28
|
-
}
|
|
29
|
-
r = r.replace(/\\/g, "\\\\");
|
|
30
|
-
r = r.replace(/\[/g, "\\[");
|
|
31
|
-
r = r.replace(/\]/g, "\\]");
|
|
32
|
-
r = r.replace(/\}/g, "\\}");
|
|
33
|
-
r = r.replace(/\{/g, "\\{");
|
|
34
|
-
r = r.replace(/\?/g, "\\?");
|
|
35
|
-
r = r.replace(/\(/g, "\\(");
|
|
36
|
-
r = r.replace(/\)/g, "\\)");
|
|
37
|
-
r = r.replace(/\./g, "\\.");
|
|
38
|
-
r = r.replace(/\|/g, "\\|");
|
|
39
|
-
r = r.replace(/\$/g, "\\$");
|
|
40
|
-
r = r.replace(/\^/g, "\\^");
|
|
41
|
-
r = r.replace(/#\*/g, "\\u{002A}");
|
|
42
|
-
r = r.replace(/#\+/g, "\\u{002B}");
|
|
43
|
-
r = r.replace(/\*/g, "[\\s\\S]*");
|
|
44
|
-
r = r.replace(/\+/g, "[\\s\\S]");
|
|
45
|
-
const reg = new RegExp("^" + r + "$", "iu");
|
|
46
|
-
return l.match(reg) !== null;
|
|
47
|
-
}
|
|
48
|
-
exports.cp = cp;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.cp = void 0;
|
|
4
|
+
const types_1 = require("../types");
|
|
5
|
+
function cp(left, right) {
|
|
6
|
+
let l = "";
|
|
7
|
+
if (typeof left === "number" || typeof left === "string") {
|
|
8
|
+
l = left.toString();
|
|
9
|
+
}
|
|
10
|
+
else if (left instanceof types_1.Structure) {
|
|
11
|
+
l = left.getCharacter();
|
|
12
|
+
}
|
|
13
|
+
else if (left instanceof types_1.FieldSymbol) {
|
|
14
|
+
if (left.getPointer() === undefined) {
|
|
15
|
+
throw new Error("GETWA_NOT_ASSIGNED");
|
|
16
|
+
}
|
|
17
|
+
return cp(left.getPointer(), right);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
l = left.get().toString();
|
|
21
|
+
}
|
|
22
|
+
let r = "";
|
|
23
|
+
if (typeof right === "string") {
|
|
24
|
+
r = right.toString();
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
r = right.get().toString();
|
|
28
|
+
}
|
|
29
|
+
r = r.replace(/\\/g, "\\\\");
|
|
30
|
+
r = r.replace(/\[/g, "\\[");
|
|
31
|
+
r = r.replace(/\]/g, "\\]");
|
|
32
|
+
r = r.replace(/\}/g, "\\}");
|
|
33
|
+
r = r.replace(/\{/g, "\\{");
|
|
34
|
+
r = r.replace(/\?/g, "\\?");
|
|
35
|
+
r = r.replace(/\(/g, "\\(");
|
|
36
|
+
r = r.replace(/\)/g, "\\)");
|
|
37
|
+
r = r.replace(/\./g, "\\.");
|
|
38
|
+
r = r.replace(/\|/g, "\\|");
|
|
39
|
+
r = r.replace(/\$/g, "\\$");
|
|
40
|
+
r = r.replace(/\^/g, "\\^");
|
|
41
|
+
r = r.replace(/#\*/g, "\\u{002A}");
|
|
42
|
+
r = r.replace(/#\+/g, "\\u{002B}");
|
|
43
|
+
r = r.replace(/\*/g, "[\\s\\S]*");
|
|
44
|
+
r = r.replace(/\+/g, "[\\s\\S]");
|
|
45
|
+
const reg = new RegExp("^" + r + "$", "iu");
|
|
46
|
+
return l.match(reg) !== null;
|
|
47
|
+
}
|
|
48
|
+
exports.cp = cp;
|
|
49
49
|
//# sourceMappingURL=cp.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ICharacter } from "../types/_character";
|
|
2
|
-
import { INumeric } from "../types/_numeric";
|
|
3
|
-
export declare function cs(left: number | string | ICharacter | INumeric, right: string | ICharacter): boolean;
|
|
1
|
+
import { ICharacter } from "../types/_character";
|
|
2
|
+
import { INumeric } from "../types/_numeric";
|
|
3
|
+
export declare function cs(left: number | string | ICharacter | INumeric, right: string | ICharacter): boolean;
|