How to use the multicombinations function from lodash

Find comprehensive JavaScript lodash.multicombinations code examples handpicked from public code repositorys.

40
41
42
43
44
45
46
47
48
49
```

## usage

```javascript
let multicombinations = _.multicombinations([0, 1], 3);
// => [[0, 0, 0], [0, 0, 1], [0, 1, 1], [1, 1, 1]]
```

---
fork icon1
star icon3
watch icon2

12
13
14
15
16
17
18
19
20
21
                [2, 3],
                [3, 3],
        ],
);
assert.deepEqual(
        _.multicombinations([1, 2, 3], 3),
        [
                [1, 1, 1],
                [1, 1, 2],
                [1, 1, 3],
fork icon1
star icon3
watch icon2

+ 11 other calls in file

Other functions in lodash

Sorted by popularity

function icon

lodash.get is the most popular function in lodash (7670 examples)