// ets_tracing: off
import * as CK from "../../../../Collections/Immutable/Chunk";
import * as MapChunks from "./mapChunks";
/**
 * Performs a filter and map in a single step.
 */

export function collect_(self, f) {
  return MapChunks.mapChunks_(self, CK.filterMap(f));
}
/**
 * Performs a filter and map in a single step.
 *
 * @ets_data_first collect_
 */

export function collect(f) {
  return self => collect_(self, f);
}
//# sourceMappingURL=collect.js.map