qtil
advanced-security/qtil-ruby 0.0.2
Search

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
int getRestIndex()