What does boolf() even do?
TechFish3000 opened this issue · 1 comments
TechFish3000 commented
I've seen it in the Examplemod javascript, but it has no documentation as far as I can see except in Arc. Also, I would talk via discord but it's blocked at my workplace.
Thanks in advance,
Techfish
Anuken commented
It creates an instance of a arc.func.Boolf
, which is a functional interface that is equivalent to Predicate
in Java and returns a boolean based on an input.