Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "set", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "An implementation of Sets in JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "set", |
@@ -25,19 +25,19 @@ # Set.js | ||
### Static functions | ||
`Set#unique` given an array, return an array with all duplicates removed. | ||
* `Set#unique` given an array, return an array with all duplicates removed. | ||
### Instance functions | ||
`Set#contains` return whether a given property is available. | ||
`Set#empty` return whether the set in empty. | ||
`Set#size` return the size of the Set. | ||
`Set#get` return the set as an Array. | ||
* `Set#contains` return whether a given property is available. | ||
* `Set#empty` return whether the set in empty. | ||
* `Set#size` return the size of the Set. | ||
* `Set#get` return the set as an Array. | ||
`Set#add` add an item to the Set. | ||
`Set#remove` remove an item from the set. | ||
`Set#clear` remove all items from the set. | ||
* `Set#add` add an item to the Set. | ||
* `Set#remove` remove an item from the set. | ||
* `Set#clear` remove all items from the set. | ||
`Set#union` return a new set that is the union of the set with another one. | ||
`Set#intersect` return a new set that is the intersection of the set with another one. | ||
`Set#difference` return a new set that is the difference of the set with another one. | ||
* `Set#union` return a new set that is the union of the set with another one. | ||
* `Set#intersect` return a new set that is the intersection of the set with another one. | ||
* `Set#difference` return a new set that is the difference of the set with another one. | ||
`Set#find` return an array with all items that match the predicate. | ||
* `Set#find` return an array with all items that match the predicate. | ||
@@ -44,0 +44,0 @@ ## License |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13805