An open API service indexing awesome lists of open source software.

https://github.com/bukinoshita/is-vogal

Check if letter is a vowel
https://github.com/bukinoshita/is-vogal

check checker letter vogal vowel

Last synced: 2 months ago
JSON representation

Check if letter is a vowel

Awesome Lists containing this project

README

          

# is-vogal [![Build Status](https://travis-ci.org/bukinoshita/is-vogal.svg?branch=master)](https://travis-ci.org/bukinoshita/is-vogal)

> Check if letter is a vowel

Different from [is-vowel](https://www.npmjs.com/package/is-vowel), `is-vogal` normalizes the letter before checking. Eg: `á` normalizes to `a`.

## Install

```bash
$ yarn add is-vogal
```

## Usage

```js
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](https://bukinoshita.io)