Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 932 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 932 Bytes

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