Skip to content
Subhajit Sahu edited this page Mar 24, 2021 · 3 revisions

Checks if ith value is true. 📰 📘


Boolean.select(i, a, b, ...)
// i: index
// a: 1st boolean
// b: 2nd boolean
import io.github.javaf.*;

Boolean.select(0, true, false);
// true            ^

Boolean.select(1, true, false);
// false                  ^

Boolean.select(1, true, true, false, false);
// true                  ^

Boolean.select(2, true, true, false, false);
// false                        ^


References

Clone this wiki locally