MCPcopy
hub / github.com/compodoc/compodoc / filter

Method filter

src/utils/collection.util.ts:258–261  ·  view source on GitHub ↗
(predicate: Predicate)

Source from the content-addressed store, hash-verified

256 constructor(private collection: any) {}
257
258 public filter(predicate: Predicate): this {
259 this.collection = filter(this.collection, predicate);
260 return this;
261 }
262
263 public groupBy(iteratee: Iteratee): this {
264 this.collection = groupBy(this.collection, iteratee);

Calls 1

filterFunction · 0.85

Tested by

no test coverage detected