export function getMethodName(camelCase) { if (!camelCase || typeof camelCase !== 'string') { return ''; } return camelCase .replace(/([a-z])([A-Z])/gu, '$1 $2') .replace(/([A-Z])([a-z])/gu, ' $1$2') .replace(/ +/gu, ' '); }