MCPcopy Create free account
hub / github.com/microsoft/vscode-cpptools / camelCase

Function camelCase

Extension/src/Utility/Text/identifiers.ts:37–41  ·  view source on GitHub ↗
(identifier: string | string[])

Source from the content-addressed store, hash-verified

35
36/** reformat an identifier to camel case */
37export function camelCase(identifier: string | string[]): string {
38 return deconstruct(identifier)
39 .map((each, index) => index === 0 ? each : each.charAt(0).toUpperCase() + each.slice(1))
40 .join('');
41}
42
43/** reformat an identifier to dash case */
44export function dashCase(identifier: string | string[]): string {

Callers

nothing calls this directly

Calls 1

deconstructFunction · 0.85

Tested by

no test coverage detected