@sygn/mutually-exclusive

0.1.2 • Public • Published

mutually-exclusive

Check whether the characters of two strings are mutually exclusive


const mutuallyExclusive = require('@sygn/mutually-exclusive');

console.log(mutuallyExclusive('mutually', 'exclusive'));
// false

// you can add a handler for handling type errors (see message-events npm package)
mutuallyExclusive.onError(console.error);

Package Sidebar

Install

npm i @sygn/mutually-exclusive

Weekly Downloads

4

Version

0.1.2

License

MIT

Unpacked Size

4.25 kB

Total Files

6

Last publish

Collaborators

  • sygn