1.0.0 • Published 3 years ago
@jswork/next-includes-multi v1.0.0
next-includes-multi
Check if string includes multiple for next.
installation
npm install -S @jswork/next-includes-multi
usage
import '@jswork/next-includes-multi';
const abc = 'abcdef';
const target = ['a', 'b', 'ddd'];
nx.includesMulti(abc, { target, aor: true });
nx.includesMulti(abc, { target });
//some: false
//every: true
license
Code released under the MIT license.
1.0.0
3 years ago