MiValue.getString

string getString() @safe

Returns

String value.

Throws

Exception if kind != MiValueKind.STRING.

Example:

auto v = MiValue.fromString("hello");
assert(v.getString() == "hello");