MCPcopy
hub / github.com/angular/angular / isPrimitiveValue

Function isPrimitiveValue

packages/core/src/debug/debug_node.ts:415–422  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

413}
414
415function isPrimitiveValue(value: any): boolean {
416 return (
417 typeof value === 'string' ||
418 typeof value === 'boolean' ||
419 typeof value === 'number' ||
420 value === null
421 );
422}
423
424/**
425 * Walk the TNode tree to find matches for the predicate.

Callers 1

copyDomPropertiesFunction · 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…