Member predicate TuplePattern::getRestIndex
Gets the index of the pattern with the * marker on it, if it exists.
In the example below the index is 2.
a, b, *rest, c, d = value
Gets the index of the pattern with the * marker on it, if it exists.
In the example below the index is 2.
a, b, *rest, c, d = value