Nog CLI Developer Guide - v0.10.5
Preparing search index...
utils/naming
toPascalCase
Function toPascalCase
toPascalCase
(
str
:
string
)
:
string
Converts a string to PascalCase. Examples:
"hello-world" => "HelloWorld"
"hello_world" => "HelloWorld"
"hello world" => "HelloWorld"
Parameters
str
:
string
The string to convert
Returns
string
The string in PascalCase format
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Nog CLI Developer Guide - v0.10.5
Loading...
Converts a string to PascalCase. Examples: