MCPcopy Index your code
hub / github.com/angular/angular / getBodyNode

Function getBodyNode

packages/animations/browser/src/render/shared.ts:197–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195}
196
197export function getBodyNode(): any | null {
198 if (typeof document != 'undefined') {
199 return document.body;
200 }
201 return null;
202}
203
204export function containsElement(elm1: any, elm2: any): boolean {
205 while (elm2) {

Callers 3

makeEngineFunction · 0.90
validateStylePropertyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…