Pike v8.0 release 1738

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()