MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / isPlaceholderView

Function isPlaceholderView

packages/vite/hmr/client/index.ts:327–335  ·  view source on GitHub ↗
(v: any)

Source from the content-addressed store, hash-verified

325 }
326 };
327 const isPlaceholderView = (v: any) => {
328 try {
329 if (!v) return false;
330 if (v === (g.__NS_DEV_PLACEHOLDER_ROOT_VIEW__ || null)) return true;
331 return !!(v as any).__ns_dev_placeholder;
332 } catch {
333 return false;
334 }
335 };
336 const hasRealRoot = () => {
337 try {
338 const fr = getTopmost();

Callers 1

hasRealRootFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected