class Sass::Script::Value::Bool

def self.new(value)

Returns:
  • (Bool) - TRUE if value is truthy, FALSE if value is falsey

Parameters:
  • value () -- A ruby value that will be tested for truthiness.
def self.new(value)
  value ? TRUE : FALSE
end