Function setToArray

  • Converts a set to an array. If the set is a collection wrapper it will return the backed array.

    Type Parameters

    • T

    Parameters

    • set: Set<T>

    Returns T[]