MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / uikitFrameLabel

Function uikitFrameLabel

packages/nativescript-inspector/src/index.ts:1598–1605  ·  view source on GitHub ↗
(view: any)

Source from the content-addressed store, hash-verified

1596}
1597
1598function uikitFrameLabel(view: any): string {
1599 const accessibility = accessibilityInfo(view);
1600 return (
1601 textValue(view) ||
1602 stringValue(accessibility.label) ||
1603 stringValue(read(view, "accessibilityIdentifier"))
1604 );
1605}
1606
1607function findSubview(view: any, predicate: (view: any) => boolean): any | null {
1608 if (!view) {

Callers 1

Calls 4

accessibilityInfoFunction · 0.85
textValueFunction · 0.85
stringValueFunction · 0.85
readFunction · 0.85

Tested by

no test coverage detected