Method: Polars::DataType.==

Defined in:
lib/polars/data_types.rb

.==(other) ⇒ Boolean

Check if this DataType is the same as another DataType.

Returns:



31
32
33
# File 'lib/polars/data_types.rb', line 31

def self.==(other)
  eql?(other) || other.is_a?(self)
end