Skip to content

Boolean

Michael Poteat edited this page Feb 27, 2023 · 3 revisions

hkt-toolbelt / Boolean

Namespace: Boolean

Interfaces

Type Aliases

_$and

Ƭ _$and<T, U>: [T, U] extends [true, true] ? true : false

Type parameters

Name Type
T extends boolean
U extends boolean

Defined in

boolean/and.ts:3


_$imply

Ƭ _$imply<T, U>: [T, U] extends [true, false] ? false : true

Type parameters

Name Type
T extends boolean
U extends boolean

Defined in

boolean/imply.ts:3


_$nand

Ƭ _$nand<T, U>: [T, U] extends [true, true] ? false : true

Type parameters

Name Type
T extends boolean
U extends boolean

Defined in

boolean/nand.ts:3


_$nimply

Ƭ _$nimply<T, U>: [T, U] extends [true, false] ? true : false

Type parameters

Name Type
T extends boolean
U extends boolean

Defined in

boolean/nimply.ts:3


_$nor

Ƭ _$nor<T, U>: [T, U] extends [false, false] ? true : false

Type parameters

Name Type
T extends boolean
U extends boolean

Defined in

boolean/nor.ts:3


_$not

Ƭ _$not<T>: T extends true ? false : true

Type parameters

Name Type
T extends boolean

Defined in

boolean/not.ts:3


_$or

Ƭ _$or<T, U>: [T, U] extends [false, false] ? false : true

Type parameters

Name Type
T extends boolean
U extends boolean

Defined in

boolean/or.ts:3


_$xnor

Ƭ _$xnor<T, U>: T extends U ? true : false

Type parameters

Name Type
T extends boolean
U extends boolean

Defined in

boolean/xnor.ts:3


_$xor

Ƭ _$xor<T, U>: T extends U ? false : true

Type parameters

Name Type
T extends boolean
U extends boolean

Defined in

boolean/xor.ts:3

Clone this wiki locally