CodeQL library for Ruby
codeql/ruby-all 0.8.15-dev (changelog, source)
Search

Member predicate ArrayPattern::allowsUnmatchedElements

Holds if this pattern permits any unmatched remaining elements, i.e. the pattern does not have a trailing , and does not contain a rest token (* or *name) either.

predicate allowsUnmatchedElements()