/BetterSet

An extension of the javascript Set object which contains some actually useful Set operations.

Primary LanguageJavaScript

BetterSet

A simple extension of the inbuilt javascript Set object, adding some set operation functions.

Functions

As well as all the standard javascript functions, the BetterSet adds these set operation functions:

  • addAll
  • complement
  • deleteAll
  • difference
  • equals
  • intersection
  • union

It also includes convenience functions which mimic Array behaviour.

  • map
  • reduce

Build Status Coverage Status Dependencies Dev Dependencies