hash code and stump of map

This commit is contained in:
gnembon committed 2019-10-01 14:50:16 -03:00
1 parent b6fe264a76
commit 8b7b285503
12 files changed
+125 -5

No files matched your search

@@ -2402,6 +2402,8 @@ public class Expression implements Cloneable
*/
public void SystemFunctions()
{
addUnaryFunction("hash_code", v -> new NumericValue(v.hashCode()));
addLazyFunction("bool", 1, (c, t, lv) -> {
Value v = lv.get(0).evalValue(c, Context.BOOLEAN);
if (v instanceof StringValue)