0.0.1 • Published 7 years ago

is-vogal v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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