hed-typescript API
    Preparing search index...

    Function iteratePairwiseCombinations

    • Generate an iterator over the pairwise combinations of an array.

      Type Parameters

      • T

      Parameters

      • array: T[]

        The array to combine.

      Returns Generator<[T, T]>

      A generator which iterates over the list of combinations as tuples.