Skip to content

Function: camelCase()

ts
function 
camelCase
(
str
): string;

Defined in: index.ts:12

Converts a dash- or space-separated string to camelCase. Not using regexp for better performance, because this function is used in parser.

Parameters

ParameterType
strstring

Returns

string

在 MIT 许可证下发布