AJSF API reference
    Preparing search index...

    Function xor

    • 'xor' utility function - exclusive or

      Returns true if exactly one of two values is truthy.

      // value1 - first value to check // value2 - second value to check // { boolean } - true if exactly one input value is truthy, false if not

      Parameters

      • value1: any
      • value2: any

      Returns boolean