@jswork/next-includes-multi
v1.0.0
Published
Check if string includes multiple for next.
Downloads
5
Readme
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.