Method: Polars::DataType#==
- Defined in:
- lib/polars/data_types.rb
#==(other) ⇒ Boolean
Check if this DataType is the same as another DataType.
38 39 40 41 42 43 44 |
# File 'lib/polars/data_types.rb', line 38 def ==(other) if other.is_a?(Class) is_a?(other) else other.instance_of?(self.class) end end |