func golang.org/x/exp/typeparams.NewUnion

one use

	golang.org/x/exp/typeparams (current package)
		typeparams.go#L194: func NewUnion(terms []*Term) *Union {