Skip to content

Utils / convertCase

Function: convertCase()

convertCase(input: string, format: CaseFormat): string

将英文字符串转换为常规格式

Parameters

ParameterTypeDefault value
inputstringundefined
formatCaseFormat'pascal'

Returns

string

MIT Licensed