const vowelsRegex: RegExp = /[aeiou]/i; function startsWithVowel(word:string){ return !!word.charAt(0).match(vowelsRegex); }
const vowelsRegex: RegExp = /[aeiou]/i; function startsWithVowel(word: string) { return !!(word.charAt(0).match(vowelsRegex)); }