MCPcopy Create free account
hub / github.com/angular/angular / splitAtColon

Function splitAtColon

packages/compiler/src/util.ts:17–19  ·  view source on GitHub ↗
(input: string, defaultValues: (string | null)[])

Source from the content-addressed store, hash-verified

15}
16
17export function splitAtColon(input: string, defaultValues: (string | null)[]): (string | null)[] {
18 return _splitAt(input, ':', defaultValues);
19}
20
21export function splitAtPeriod(input: string, defaultValues: (string | null)[]): (string | null)[] {
22 return _splitAt(input, '.', defaultValues);

Callers 2

util_spec.tsFile · 0.90

Calls 1

_splitAtFunction · 0.85

Tested by

no test coverage detected