Utility function that gets a merged list of the entries in an array and values of a Set.
(array: T[], set: Set<T>)
| 1673 | |
| 1674 | /** Utility function that gets a merged list of the entries in an array and values of a Set. */ |
| 1675 | function mergeArrayAndSet<T>(array: T[], set: Set<T>): T[] { |
| 1676 | return array.concat(Array.from(set)); |
| 1677 | } |
| 1678 | |
| 1679 | /** |
| 1680 | * Finds the closest table section to an outlet. We can't use `HTMLElement.closest` for this, |
no outgoing calls
no test coverage detected