qtil
advanced-security/qtil-javascript 0.0.3
Search

Member predicate TupleType::getRestElementIndex

Gets the index of the rest element. For example, for a type [number, ...string[]] the result is 1, or for a type [...number[], string] the result is 0.

int getRestElementIndex()