lib/utility/string.js
function kebabToSnake( string ) {
	return string.replace( ptnKebab, ( all, predecessor, match ) => predecessor + "_" + match );
}
function kebabToSnake( string ) {
	return string.replace( ptnKebab, ( all, predecessor, match ) => predecessor + "_" + match );
}
function kebabToSnake ( string ) { return string . replace ( ptnKebab , ( all , predecessor , match ) => predecessor + "_" + match ) ; }
Converts string from kebab-case to snake_case.

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