Innovenergy_trunk/frontend/node_modules/is-es2016-keyword
Kim 085d7c68ba adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
..
LICENSE adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
README.md adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
index.js adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
package.json adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00

README.md

is-es2016-keyword

Build Status

Determine if string is an ES2016 keyword.

Install

npm install os-is-es2016-keyword

Usage

const isES2016Keyword = require('is-es2016-keyword');

console.log(isES2016Keyword('async')); // > true
console.log(isES2016Keyword('class')); // > true
console.log(isES2016Keyword('yo'));    // > false

Author

Ivan Nikulin (ifaaan@gmail.com)