hasParentOf<P extends ECSBase<T>> method

bool hasParentOf<P extends ECSBase<T>>()
inherited

Whether parent is of type P.

Implementation

bool hasParentOf<P extends ECSBase<T>>() => parent is P;