ifelse(Boolean 0, Object 1, Object 2)

Return the 1st value if the condition is true, else return the 2nd value.

Parameters

  • Boolean 0 - the logical condition to determine which value to return
  • Object 1 - the value to return if the condition is true
  • Object 2 - the value to return if the condition is false

Return type

Object