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

Converts string to boolean. 📰 📘


parse s
-- s: a string
import Boolean exposing (..)

parse "1"
parse "truthy"
parse "not off"
-- True

parse "not true"
parse "inactive"
parse "disabled"
-- False


References

Clone this wiki locally