conversion-library / changeCase / trainCase
Function: trainCase()
ts
function trainCase(input: string, options?: Options): string
Convert a string to header case (Foo-Bar
).
Parameters
• input: string
• options?: Options
Returns
string
Defined in
node_modules/change-case/dist/index.d.ts:79