/is-vogal

Check if letter is a vowel

Primary LanguageJavaScriptMIT LicenseMIT

is-vogal Build Status

Check if letter is a vowel

Different from is-vowel, is-vogal normalizes the letter before checking. Eg: á normalizes to a.

Install

$ yarn add is-vogal

Usage

const isVogal = require('is-vogal')

isVogal('a')
// => true

isVogal('ã')
// => true

isVogal('p')
// => false

API

isVogal(input)

Returns a boolean

input

Type: string
Required

Letter to be checked

License

MIT © Bu Kinoshita