class Sass::Script::Value::Color

def eq(other)

Returns:
  • (Bool) - True if this value is the same as the other,

Parameters:
  • other (Value) -- The right-hand side of the operator
def eq(other)
  Sass::Script::Value::Bool.new(
    other.is_a?(Color) && rgb == other.rgb && alpha == other.alpha)
end