has2<A extends Comp<T>, B extends Comp<T>> method

bool has2<A extends Comp<T>, B extends Comp<T>>()
inherited

Whether top-level components of BOTH type A and type B exist.

Implementation

bool has2<
  A extends Comp<T>,
  B extends Comp<T>
>() => has<A>() && has<B>();