add bool literal

This commit is contained in:
2020-01-20 15:26:55 +01:00
parent 1095d9dd83
commit 1186bb4550
12 changed files with 88 additions and 4 deletions

View File

@@ -10,4 +10,8 @@ public class Value {
public int asInteger() {
return (int) this.value;
}
public boolean asBoolean() {
return (boolean) this.value;
}
}