@abaplint/runtime 2.13.52 → 2.13.53
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ABAPObject, DataReference, FieldSymbol, Integer8, Structure, Table } from "../types";
|
|
1
|
+
import { ABAPObject, DataReference, DecFloat34, FieldSymbol, Integer8, Structure, Table } from "../types";
|
|
2
2
|
import { ICharacter } from "../types/_character";
|
|
3
3
|
import { INumeric } from "../types/_numeric";
|
|
4
|
-
export declare function initial(val: ICharacter | INumeric | string | number | Integer8 | Structure | DataReference | FieldSymbol | Table | ABAPObject): boolean;
|
|
4
|
+
export declare function initial(val: ICharacter | INumeric | string | number | Integer8 | DecFloat34 | Structure | DataReference | FieldSymbol | Table | ABAPObject): boolean;
|
|
@@ -27,7 +27,7 @@ function initial(val) {
|
|
|
27
27
|
else if (val instanceof types_1.Time) {
|
|
28
28
|
return val.get() === "000000";
|
|
29
29
|
}
|
|
30
|
-
else if (val instanceof types_1.Float) {
|
|
30
|
+
else if (val instanceof types_1.Float || val instanceof types_1.DecFloat34) {
|
|
31
31
|
return val.getRaw() === 0;
|
|
32
32
|
}
|
|
33
33
|
else if (val instanceof types_1.Character) {
|