MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / matcher

Function matcher

packages/core/ui/core/view/view-common.ts:1258–1258  ·  view source on GitHub ↗
(view: ViewCommon)

Source from the content-addressed store, hash-verified

1256
1257 _hasAncestorView(ancestorView: ViewCommon): boolean {
1258 const matcher = (view: ViewCommon) => view === ancestorView;
1259
1260 for (let parent = this.parent; parent != null; parent = parent.parent) {
1261 if (matcher(<ViewCommon>parent)) {

Callers 2

getAncestorFunction · 0.85
_hasAncestorViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected