MiValue.asBool
bool asBool() @safeReturns
String value parsed as boolean.
Throws
Exception if not a string or not a known boolean representation.
Example:
auto v = MiValue.fromString("true");
assert(v.asBool() == true);bool asBool() @safeException if not a string or not a known boolean representation.
Example:
auto v = MiValue.fromString("true");
assert(v.asBool() == true);