Method: Polars::Struct#==

Defined in:
lib/polars/data_types.rb

#==(other) ⇒ Object



550
551
552
553
554
555
556
557
558
# File 'lib/polars/data_types.rb', line 550

def ==(other)
  if other.eql?(Struct)
    true
  elsif other.is_a?(Struct)
    fields == other.fields
  else
    false
  end
end