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

Function nativeScriptChildren

packages/nativescript-inspector/src/index.ts:1504–1513  ·  view source on GitHub ↗
(view: View)

Source from the content-addressed store, hash-verified

1502}
1503
1504function nativeScriptChildren(view: View): View[] {
1505 const result: View[] = [];
1506 safeCall(() => {
1507 view.eachChildView((child: View) => {
1508 result.push(child);
1509 return true;
1510 });
1511 }, undefined);
1512 return result;
1513}
1514
1515function sourceLocationFromNode(node: JSONObject): JSONObject | null {
1516 const location = objectValue(node.sourceLocation);

Callers 2

nativeScriptTabItemsFunction · 0.85
nativeScriptChildAtFunction · 0.85

Calls 1

safeCallFunction · 0.85

Tested by

no test coverage detected