Module : lang.boolean

Module Overview

This module provides lang library operations on boolean values defined by the language specification 2020R1.

Functions

fromString

Converts a string to a boolean. Returns the boolean of which s is a string representation. The accepted representations are true, false (in any combination of lower- and upper-case), and also 1 for true and 0 for false. This is the inverse of value:toString applied to a boolean.