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

Function isVisible

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

Source from the content-addressed store, hash-verified

1779}
1780
1781function isVisible(view: any): boolean {
1782 const hidden = Boolean(read(view, "hidden") ?? read(view, "isHidden"));
1783 const alpha = numberValue(read(view, "alpha"), 1);
1784 return !hidden && alpha > 0;
1785}
1786
1787function nsArray(value: any): any[] {
1788 if (!value) {

Callers 3

hierarchyMethod · 0.85
uikitNodeMethod · 0.85
tabBarControlsFunction · 0.85

Calls 2

readFunction · 0.85
numberValueFunction · 0.85

Tested by

no test coverage detected