Skip to content

Commit

Permalink
Merge pull request #90 from reetuparna/26
Browse files Browse the repository at this point in the history
Fixes #26
  • Loading branch information
thoas authored Jun 23, 2020
2 parents 4e06ea1 + 6888710 commit 9d915e4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,17 @@ Generates a sharded string with a fixed length and depth.
funk.Shard("e89d66bdfdd4dd26b682cc77e23a86eb", 2, 2, true) // []string{"e8", "9d", "66", "bdfdd4dd26b682cc77e23a86eb"}
funk.Subset
.............

Returns true if a collection is a subset of another

.. code-block:: go
funk.Subset([]int{1, 2, 4}, []int{1, 2, 3, 4, 5}) // true
funk.Subset([]string{"foo", "bar"},[]string{"foo", "bar", "hello", "bar", "hi"}) //true
Performance
-----------

Expand Down

0 comments on commit 9d915e4

Please sign in to comment.