README
Checks if lists have no common keys. :package: :smiley_cat: :running: :vhs: :moon: :scroll: :newspaper: :blue_book:
Similar: union, intersection, difference, symmetricDifference, isDisjoint.
This is part of package extra-lists.
This is browserified, minified version of @extra-lists/is-disjoint.
It is exported as global variable lists_isDisjoint.
CDN: unpkg, jsDelivr.
lists.isDisjoint(x, y);
// x: lists
// y: another lists
const lists = require('extra-lists');
var x = [['a', 'b', 'c'], [1, 2, 3]];
var x = [['c', 'd'], [3, 4]];
lists.isDisjoint(x, y);
// false
var x = [['d'], [4]];
lists.isDisjoint(x, y);
// true