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

Function trim

packages/compiler-cli/test/ngtsc/ngtsc_spec.ts:26–26  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

24import {NgtscTestEnvironment} from './env';
25
26const trim = (input: string): string => input.replace(/\s+/g, ' ').trim();
27
28const varRegExp = (name: string): RegExp => new RegExp(`const \\w+ = \\[\"${name}\"\\];`);
29

Callers 5

ngtsc_spec.tsFile · 0.70
verifyOutputFunction · 0.70
verifyThrownErrorFunction · 0.70

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…