Skip to content

bukinoshita/is-vogal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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