5min
if
A logic operator used to return a defined expression based on the truthiness of one or more other expressions.
expressionOne if expressionTwo
- expressionOne will be evaluated and returned if expressionTwo is evaluated to be truthy.
base if directs > 0 returns base if directs is greater than 0.
- || (or)
- && (and)
- . (dot)