0.0.3 • Published 5 years ago

relationset v0.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

relationset

Compare two sets (array of items) and get relationships between them (Disjoint | Intersecting | Subset | Superset | Equal).

npm version npm npm type definitions Build Status Dependency Status GitHub

Get Started

npm install -D relationset

or

yarn add -D relationset

How to Use

import {
  getRelationOfFiniteSets,
  getRelationOfKeySets,
  getRelationOfSets,
  getRelationOfUnitSetToNonEmptySet,
  haveCommonElements,
  haveCommonKeys,
} from 'relationset';

License

MIT License