relationset
v0.0.3
Published
Compare two sets (array of items) and get relationships between them (Disjoint | Intersecting | Subset | Superset | Equal)
Downloads
9
Maintainers
Readme
relationset
Compare two sets (array of items) and get relationships between them (Disjoint | Intersecting | Subset | Superset | Equal).
Get Started
npm install -D relationset
or
yarn add -D relationset
How to Use
import {
getRelationOfFiniteSets,
getRelationOfKeySets,
getRelationOfSets,
getRelationOfUnitSetToNonEmptySet,
haveCommonElements,
haveCommonKeys,
} from 'relationset';