Function subsets

  • List all possible subsets.

    Parameters

    • x: object

      an object

    • n: number = -1

      number of entries [-1 ⇒ any]

    Returns IterableIterator<object>

    entries selected by bit from 0..2^|x| if n<0; only of length n otherwise

Generated using TypeDoc