hasAny<A extends Comp<T> , B extends Comp<T> > method
Whether a top-level component of type A OR type B exists.
Implementation
bool hasAny<
A extends Comp<T>,
B extends Comp<T>
>() => has<A>() || has<B>();