Carrot reference
Operators

? (ternary)

evaluates the truthiness of an expression, and returns the value of one of two expressions based on that outcome syntax condition ? iftrue iffalse condition the conditional expression to be evaluated for truthiness iftrue the expression to be evaluated if condition is found to be truthy iffalse the expression to be evaluated if condition is not found to be truthy sample usage base (tenure < 12 ? tenure / 12 1) returns the prorated base salary of someone if they are under 12 months tenure, otherwise returns their base see also ? (elvis) docid\ x hm1bldw8awd8 byrlzv (dot) docid\ t8hbpytpsanh8yfiz4yjf && (and) docid\ uvpxllwgcpzrpr42e2nxm