apply or return the last value

This commit is contained in:
2022-09-11 00:04:03 +00:00
parent 10301cb4ae
commit 4cd1f9de64

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);