MCPcopy Index your code
hub / github.com/TanStack/virtual / isElementRef

Function isElementRef

packages/angular-virtual/src/index.ts:114–118  ·  view source on GitHub ↗
(
  elementOrRef: ElementRef<T> | T | undefined,
)

Source from the content-addressed store, hash-verified

112}
113
114function isElementRef<T extends Element>(
115 elementOrRef: ElementRef<T> | T | undefined,
116): elementOrRef is ElementRef<T> {
117 return elementOrRef != null && 'nativeElement' in elementOrRef
118}
119
120export function injectWindowVirtualizer<TItemElement extends Element>(
121 options: () => PartialKeys<

Callers 1

injectVirtualizerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected