class ActiveRecord::Relation::WhereClause

def contradiction?

Experimental RBS support (using type sampling data from the type_fusion project).

def contradiction?: () -> false

This signature was generated using 20 samples from 1 application.

def contradiction?
  predicates.any? do |x|
    case x
    when Arel::Nodes::In
      Array === x.right && x.right.empty?
    when Arel::Nodes::Equality
      x.right.respond_to?(:unboundable?) && x.right.unboundable?
    end
  end
end