Skip to content

TypeAlias.XOR

github-actions[bot] edited this page Jul 8, 2026 · 33 revisions

umt / XOR

Type Alias: XOR<X, Y>

XOR<X, Y> = isBoolean<X> extends true ? isBoolean<Y> extends true ? false : true : isBoolean<Y> extends true ? true : false

Defined in: types/logic/xor.ts:3

Type Parameters

X

X

Y

Y

API

Classes

Interfaces

Type Aliases

Variables

Functions

Clone this wiki locally