Skip to content

Latest commit

 

History

History
47 lines (26 loc) · 667 Bytes

readme.md

File metadata and controls

47 lines (26 loc) · 667 Bytes

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