asBoolean method
Gets the value as a boolean.
The following values (case insensitive) are interpreted as true:
"1"
, "true"
, "t"
, "yes"
, "y"
, "on"
. Other values are interpreted as false.
Implementation
bool asBoolean() => jsObject.asBoolean();