MCPcopy Create free account
hub / github.com/UI5/webcomponents / _findFeature

Method _findFeature

packages/main/src/Table.ts:493–495  ·  view source on GitHub ↗
(featureName: string)

Source from the content-addressed store, hash-verified

491 }
492
493 _findFeature<T>(featureName: string): T {
494 return this.features.find(feature => isFeature<T>(feature, featureName)) as T;
495 }
496
497 _getSelection(): TableSelectionBase | TableSelection | undefined {
498 return this._findFeature<TableSelectionBase>("TableSelectionBase") || this._findFeature<TableSelection>("TableSelection");

Callers 3

_getSelectionMethod · 0.95
_getVirtualizerMethod · 0.95
_getGrowingMethod · 0.95

Calls 1

isFeatureFunction · 0.85

Tested by

no test coverage detected