MCPcopy
hub / github.com/angular/angular / kebabToCamelCase

Function kebabToCamelCase

packages/elements/src/utils.ts:49–51  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

47 * Convert a kebab-cased string to camelCased.
48 */
49export function kebabToCamelCase(input: string): string {
50 return input.replace(/-([a-z\d])/g, (_, char) => char.toUpperCase());
51}
52
53let _matches: (this: any, selector: string) => boolean;
54

Callers 1

utils_spec.tsFile · 0.90

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…