Skip to content

fx-flow v0.7.0 / types / IsUnion

Type alias: IsUnion<T, A>

IsUnion<T, A>: T extends T ? [A] extends [T] ? false : true : never

Type parameters

T

A = T

Source

packages/core/src/types/basic.ts:11

Released under the MIT License.