hash code and stump of map
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user