MCPcopy Index your code
hub / github.com/angular/components / _getOwnDefs

Method _getOwnDefs

src/cdk/table/table.ts:1561–1563  ·  view source on GitHub ↗

Filters definitions that belong to this table from a QueryList.

(items: QueryList<I>)

Source from the content-addressed store, hash-verified

1559
1560 /** Filters definitions that belong to this table from a QueryList. */
1561 private _getOwnDefs<I extends {_table?: any}>(items: QueryList<I>): I[] {
1562 return items.filter(item => !item._table || item._table === this);
1563 }
1564
1565 /** Creates or removes the no data row, depending on whether any data is being shown. */
1566 private _updateNoDataRow() {

Callers 2

_cacheColumnDefsMethod · 0.95
_cacheRowDefsMethod · 0.95

Calls 1

filterMethod · 0.45

Tested by

no test coverage detected