Check whether the data type is a decimal type.
Returns:
56 57 58
# File 'lib/polars/data_types.rb', line 56 def self.decimal? self == Decimal end