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

Member predicate TupleType::hasRestElement

Holds if this tuple type has a rest element, such as [number, ...string[]] or [...number[], string].

predicate hasRestElement()