Carrot reference
Operators

if

a logic operator used to return a defined expression based on the truthiness of one or more other expressions syntax expressionone if expressiontwo expressionone will be evaluated and returned if expressiontwo is evaluated to be truthy sample usage base if directs > 0 returns base if directs is greater than 0 see also || (or) docid\ a7wcsbxwsjewfyjwbuh8z && (and) docid\ uvpxllwgcpzrpr42e2nxm (dot) docid\ t8hbpytpsanh8yfiz4yjf