https://github.com/teobais/is-kotlin-keyword
Check if the provided string is a Kotlin keyword
https://github.com/teobais/is-kotlin-keyword
javascript keyword kotlin npm reserved
Last synced: 3 months ago
JSON representation
Check if the provided string is a Kotlin keyword
- Host: GitHub
- URL: https://github.com/teobais/is-kotlin-keyword
- Owner: teobais
- License: mit
- Created: 2018-02-25T23:32:26.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-26T01:09:30.000Z (about 7 years ago)
- Last Synced: 2025-01-20T04:57:48.258Z (4 months ago)
- Topics: javascript, keyword, kotlin, npm, reserved
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://badge.fury.io/js/is-kotlin-keyword.js) 
# is-kotlin-keyword
> Determine whether a string is a Kotlin keyword.## Install
[](https://www.npmjs.com/package/is-kotlin-keyword)## Use
```javascript
// load the module
var isKotlinKeyword = require('index.js');// check a keyword
isKotlinKeyword("while"); // true
```## Test
To execute tests, first install the project dependencies:```
$ npm install | yarn install
```Then, run the tests
```
$ npm test
```