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

Function nativeScriptViewType

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

Source from the content-addressed store, hash-verified

2226}
2227
2228function nativeScriptViewType(view: View): string {
2229 return stringValue((view as any).typeName) || constructorName(view);
2230}
2231
2232function normalizeSourceRoot(sourceRoot: string | undefined): string {
2233 const root = stringValue(sourceRoot).replace(/\/+$/, "");

Callers 1

uikitNodeMethod · 0.85

Calls 2

stringValueFunction · 0.85
constructorNameFunction · 0.85

Tested by

no test coverage detected