Function destroyCollection

  • Parameters

    • collection: Iterable<{
          destroy?: (() => void);
          isDestroyed?: boolean;
      }, any, any> & {
          destroy: (() => void);
      }

    Returns void