is-keyword

Checks if the given token is an ES keyword.


Keywords
type, detect, check, is, keyword, keywords, ES
License
MIT
Install
bower install is-keyword

Documentation

is-keyword Build Status

Checks if the given token is an ES keyword.

Install

$ npm install --save is-keyword
$ bower install --save is-keyword
$ component install hemanth/is-keyword

Usage

Node.js
var isKeyword = require('is-keyword');
isKeyword('let');
//=> true

License

MIT © Hemanth.HM