@karmaniverous/get-dotenv
    Preparing search index...

    Function xor

    • Creates an exclusive union (XOR) where exactly one option must match. Unlike regular unions that succeed when any option matches, xor fails if zero or more than one option matches the input.

      Type Parameters

      Parameters

      Returns z.ZodXor<T>