MiValue.asInt
long asInt() @safeReturns
String value parsed as integer.
Throws
Exception if not a string or not an integer.
Example:
auto v = MiValue.fromString("42");
assert(v.asInt() == 42);long asInt() @safeException if not a string or not an integer.
Example:
auto v = MiValue.fromString("42");
assert(v.asInt() == 42);