Constructor
new BoolSettingMetadata(…args)
Passes the parameters to the superclass for initialization, then marks this setting as one that should be represented in the UI using a checkbox.
Parameters
-
args
any
<repeatable>
same arguments as for the superclass constructor
Source
Classes
Methods
convert(data) → {bool}
Treats true
as true and "true"
as true, but all other values as
false.
Parameters
-
data
any
the data to convert to boolean
Returns
-
bool
the same data, now as a boolean