Skip to content

afeiship/next-if

Repository files navigation

next-if

If condition for next.

version license size download

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.

About

If condition for next.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published