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

Function get

packages/nativescript-inspector/src/index.ts:1898–1908  ·  view source on GitHub ↗
(target, property)

Source from the content-addressed store, hash-verified

1896 }
1897 return new Proxy(klass, {
1898 get(target, property) {
1899 const value = target[property as keyof typeof target];
1900 if (
1901 typeof property === "string" &&
1902 typeof value === "function" &&
1903 isZeroArgumentUIKitFactory(property)
1904 ) {
1905 return value.call(target);
1906 }
1907 return typeof value === "function" ? value.bind(target) : value;
1908 },
1909 });
1910}
1911

Callers 1

routerFunction · 0.85

Calls 1

Tested by

no test coverage detected