Skip to main content

parse-boolean

functionv1.11

cljs.core/parse-boolean

Available in:BBCLJCLJS
(parse-boolean [s])
Parse strings "true" or "false" and return a boolean, or nil if invalid. Note that this explicitly excludes strings with different cases, or space characters.

No examples yet. Be the first to add one!