Typegatewayv0.3.1IsUnionReturns a boolean for whether the given type is a union. type IsUnion<T> = InternalIsUnion<T>;ExamplesCopyimport type {IsUnion} from 'type-fest'; type A = IsUnion<string | number>; //=> true type B = IsUnion<string>; //=> falseType parametersTT