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

Function isTDeferBlockDetails

packages/core/src/defer/utils.ts:162–168  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

160 * that a primary template exists. All the other template options are optional.
161 */
162export function isTDeferBlockDetails(value: unknown): value is TDeferBlockDetails {
163 return (
164 value !== null &&
165 typeof value === 'object' &&
166 typeof (value as TDeferBlockDetails).primaryTmplIndex === 'number'
167 );
168}
169
170/**
171 * Whether a given TNode represents a defer block.

Callers 3

deferBlockFinderFunction · 0.90
getDeferBlocksFunction · 0.90
isDeferBlockFunction · 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…