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

Convert string to Boolean. 📰 📘


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

Boolean.parse('not true');
// false

Boolean.parse('inactive');
// false

Boolean.parse('not off');
// true

Boolean.parse('truthy');
// true


References

Clone this wiki locally