Skip to content
Subhajit Sahu edited this page Jan 25, 2021 · 7 revisions

Converts string to boolean. 📰 📘


Boolean.parse(s)
// s: a string
import io.github.javaf.*;

Boolean.parse("1");
Boolean.parse("truthy");
Boolean.parse("not off");
// true

Boolean.parse("not true");
Boolean.parse("inactive");
Boolean.parse("disabled");
// false


References

Clone this wiki locally