If (String) Then Else (Obj)

Description

If the condition is satisfied on the IF input, the THEN input is returned. Otherwise, the ELSE input is returned.

Input

  • IF [STRING]

  • THEN [OBJ]: a list of objects (THEN result)

  • ELSE [OBJ]: a list of objects (ELSE result)

Output

  • RESULT : Either THEN or ELSE

  • THEN : THEN if the condition is true, empty otherwise

  • ELSE : ELSE if the condition is true, empty otherwise

Parameters

  • Condition: The condition to be satisfied on the IF input

    • non-empty set: true if IF is not empty

    • contains spaces: true if any string in the set contains spaces

    • contains spaces or punctuation: true if any string in the set contains spaces or punctuation

Output scores can be aggregated and/or normalised.