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

Member predicate ArgumentPosition::isSynthSplat

Holds if this position represents a synthetic splat argument.

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

predicate isSynthSplat(int actualSplatPos)