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

Member predicate ParameterPosition::isSynthSplat

Holds if this position represents a synthetic splat parameter.

actualSplatPos indicates the position of the (unique) actual splat parameter belonging to the same method, with -1 representing no actual splat parameter.

predicate isSynthSplat(int actualSplatPos)