Crate iif

Source

Macrosยง

iif
Returns one of two parts, depending on the evaluation of an expression. Example:
iif_opt
Returns an option, depending on the evaluation of an expression. Example: