Edit the markdown source for "logical-functions" if Returns one of two values depending on a condition. Parameters: condition: A boolean expression value1: A value returned if condition is true. value2: A value returned if condition is not true. Released: v3.0.0 Updated: v3.6.0 Examples: @some: foo; div { margin: if((2 > 1), 0, 3px); color: if((iscolor(@some)), @some, black); } Result: div { margi