🐊Putout plugin adds ability to convert comparison to boolean
npm install @putout/plugin-convert-comparison-to-boolean[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-convert-comparison-to-boolean.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@putout/plugin-convert-comparison-to-boolean"npm"
> Strict equality compares two values for equality. Neither value is implicitly converted to some other value before being compared. If the values have different types, the values are considered unequal.
>
> (c) MDN
🐊Putout plugin adds ability to find and convert binary expression to boolean. Merged to @putout/plugin-conditions.
```
npm i @putout/plugin-convert-comparison-to-boolean -D
`json`
{
"rules": {
"convert-comparison-to-boolean": "on"
}
}
`js`
const t = 2 < 3;
`js``
const t = false;
MIT