Skip to content

variableToWords

variableToWords(variable): string[]

Defined in: text/variable-to-words.ts:11

Splits a variable name into its constituent words, supporting camelCase, PascalCase, kebab-case, and snake_case formats.

Parameters

variable

string

Returns

string[]