lib/utility/string.js
function kebabToPascal( string ) {
	const camel = kebabToCamel( string );

	return camel.slice( 0, 1 ).toUpperCase() + camel.slice( 1 );
}
function kebabToPascal( string ) {
	const camel = kebabToCamel( string );

	return camel.slice( 0, 1 ).toUpperCase() + camel.slice( 1 );
}
function kebabToPascal ( string ) { const camel = kebabToCamel ( string ) ; return camel . slice ( 0 , 1 ) . toUpperCase ( ) + camel . slice ( 1 ) ; }
Converts string from kebab-case to PascalCase.

@param {string} string string to convert
@returns {string} converted string
Converts string from kebab - case to PascalCase .