@jswork/next-if
v1.0.1
Published
If condition for next.
Downloads
4
Readme
next-if
If condition for next.
installation
npm install -S @jswork/next-if
usage
import '@jswork/next-if';
const obj1 = { name: 'fei' };
const res1 = nx.if(obj1.name === 'fei', 'yes', 'no');
// yes
license
Code released under the MIT license.