Utility function that gets a merged list of the entries in an array and values of a Set.
(array: T[], set: Set<T>)
| 1655 | |
| 1656 | /** Utility function that gets a merged list of the entries in an array and values of a Set. */ |
| 1657 | function mergeArrayAndSet<T>(array: T[], set: Set<T>): T[] { |
| 1658 | return array.concat(Array.from(set)); |
| 1659 | } |
| 1660 | |
| 1661 | /** |
| 1662 | * Finds the closest table section to an outlet. We can't use `HTMLElement.closest` for this, |
no outgoing calls
no test coverage detected