return str.split('').some((el, i) => ((65 <= str.charCodeAt(i) && str.charCodeAt(i) <= 90) || (97 <= str.charCodeAt(i) && str.charCodeAt(i) <= 122)) && (str.charCodeAt(i) === str.charCodeAt(i + 1)));