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

Function isValue

packages/common/src/pipes/number_pipe.ts:317–319  ·  view source on GitHub ↗
(value: number | string | null | undefined)

Source from the content-addressed store, hash-verified

315}
316
317function isValue(value: number | string | null | undefined): value is number | string {
318 return !(value == null || value === '' || value !== value);
319}
320
321/**
322 * Transforms a string into a number (if needed).

Callers 3

transformMethod · 0.85
transformMethod · 0.85
transformMethod · 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…