Member predicate DestructuredLhsExpr::getRestIndex
Gets the index of the element 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 element with the *
marker on it, if it exists.
In the example below the index is 2
.
a, b, *rest, c, d = value