apply or return the last value

This commit is contained in:
2022-09-11 00:04:03 +00:00
parent f58b4da705
commit 28e3f3d4d1

View File

@@ -73,7 +73,7 @@ class Prelude {
return value;
}
}
return false;
return values[values.length-1];
}
public static var or:Function = Reflect.makeVarArgs(_or);