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

Function frameInScreen

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

Source from the content-addressed store, hash-verified

2077}
2078
2079function frameInScreen(view: any): JSONObject | null {
2080 return safeCall(
2081 () => rectValue(view.convertRectToView(read(view, "bounds"), null)),
2082 rectValue(read(view, "frame")),
2083 );
2084}
2085
2086function colorValue(color: any): JSONObject | null {
2087 if (!color) {

Callers 7

nativeScriptNodeMethod · 0.85
uikitNodeMethod · 0.85
tabBarControlsFunction · 0.85

Calls 3

safeCallFunction · 0.85
rectValueFunction · 0.85
readFunction · 0.85

Tested by

no test coverage detected