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

Function concatStringsWithSpace

packages/core/src/util/stringify.ts:45–49  ·  view source on GitHub ↗
(before: string | null, after: string | null)

Source from the content-addressed store, hash-verified

43 * @returns concatenated string.
44 */
45export function concatStringsWithSpace(before: string | null, after: string | null): string {
46 if (!before) return after || '';
47 if (!after) return before;
48 return `${before} ${after}`;
49}
50
51/**
52 * Ellipses the string in the middle when longer than the max length

Callers 3

stringify_spec.tsFile · 0.90
checkStylingMapFunction · 0.90
computeStaticStylingFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…