if function
$(if, expr, dotrue [, dofalse])
Evaluates expressions and performs an action depending on whether a condition is true or false.
Example
$(if,$(<,(getvar,textsize),.5),$(+,(getvar,textsize),.5),~)
Evaluates expressions and performs an action depending on whether a condition is true or false.
$(if,$(<,(getvar,textsize),.5),$(+,(getvar,textsize),.5),~)