setPowerset
setPowerset(set)
Create the powerset of a (multi)set: the powerset contains very possible subsets of a (multi)set. A multi-dimension array will be converted to a single-dimension array before the operation.
Try it yourself:
$1 | setPowerset([1, 2, 3])
|