MiValue.tryAsTuple

MiValue tryAsTuple() @safe

Tries to interpret this value as a tuple.

If it's already a tuple, returns it. If it's a string starting with `{` and ending with `}`, tries to parse it. If parsing fails with a GdbMiParseException, returns null. Other exceptions (e.g. assertion failures) propagate normally.

Returns

The tuple value if successful, or null if this value cannot

be interpreted as a tuple.