Extracted from Pike v8.0 release 164 as of 2016-02-09.
   

Method Array.combinations()


Method combinations

array(array) combinations(array arr, int len)

Description

Returns an array of all combinations of length len of elements from arr.

See also

permute()