class Sass::Script::Value::Number
def lte(other)
-
(NoMethodError)
- if `other` is an invalid type
Returns:
-
(Boolean)
- Whether this number is less than or equal to the other
Parameters:
-
other
(Number
) -- The right-hand side of the operator
def lte(other) raise NoMethodError.new(nil, :lte) unless other.is_a?(Number) operate(other, :<=) end