# Functions
DefaultIfNil checks if the value is nil, if true returns the default value otherwise the original.
FirstNonNil returns the first non nil parameter.
IfThen evaluates a condition, if true returns the parameters otherwise nil.
IfThenElse evaluates a condition, if true returns the first parameter otherwise the second.