class RuboCop::Cop::Performance::CaseWhenSplat

def non_splat?(condition)

def non_splat?(condition)
  variable, = *condition
  (condition.splat_type? && variable.array_type?) || !condition.splat_type?
end