Skip to content
Subhajit Sahu edited this page Mar 25, 2021 · 6 revisions

Converts string to boolean. 📰 📘


parse(s)
# s: a string
const {parse} = require("extra-boolean");

parse("1");
parse("truthy");
parse("not off");
# True

parse("not True");
parse("inactive");
parse("disabled");
# False


References

Clone this wiki locally