⎗ ✓ 1 2 3let is_vowel c = match c with 'a' | 'e' | 'i' | 'o' | 'u' -> true | _ -> false ;; < ⎗ ✓ 1 2 3 4 5 6 7 8 9 10 11 12function is_vowel(c){ switch(c){ case 'a': case 'e': case 'i': case 'o': case 'u': return true; default: return false; } } this form is way better