🐊Putout operator adds ability to check if whether Identifier is a keyword or not
npm install @putout/operator-keyword[NPMIMGURL]: https://img.shields.io/npm/v/@putout/operator-keyword.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@putout/operator-keyword "npm"
🐊Putout operator adds ability to check whether Identifier is a keyword or not.
```
npm i putout @putout/operator-keyword
`js
import {operator} from 'putout';
const {
isKeyword,
isTSKeyword,
isDeclarationKeyword,
isModuleDeclarationKeyword,
isConditionKeyword,
} = operator;
isKeyword('if');
// returns
true;
isKeyword('abc');
// returns
false;
isDeclarationKeyword('const');
// returns
true;
isModuleDeclarationKeyword('import');
// returns
true;
isConditionKeyword('if');
// returns
true;
isStatementKeyword('for');
// returns
true;
isTSKeyword('implements');
// returns
true;
``
MIT