import sparse from './sparse.mjs';
import { Selection } from './index.mjs';

function selection_exit() {
  return new Selection(this._exit || this._groups.map(sparse), this._parents);
}

export { selection_exit as default };
