CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.12 (changelog, source)
Search

Member predicate TupleType::getRestElementType

Gets the type of the rest element, if there is one.

For example, the rest element of [number, ...string[]] is string.

Type getRestElementType()