This function simulates a single line conditional statement. Based on the state of the first argument it returns either second or third one.
Input:
condition (boolean): Condition variable.
ontrue: Value to return if condition is true.
onfalse: Value to return if condition is false.
Output: