Options
All
  • Public
  • Public/Protected
  • All
Menu

Type aliases

Type aliases

Xor

Xor<B1, B2>: object[B1][B2]

Logical ^ operator (behaves like the JS one)

Type parameters

returns

Boolean

example

import {B} from 'ts-toolbelt'

type test0 = B.Xor<B.True, B.True>    // False
type test1 = B.Xor<B.False, B.True>   // True
type test2 = B.Xor<B.Boolean, B.True> // Boolean

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.