* Merge all the given arrays by keeping only unique elements, and return an array with de-duplicated values. * cf. http://stackoverflow.com/a/27664971/2834898 * * @param {...array} arrays * @returns {[*]}
(...arrays)
| 1485 | * @returns {[*]} |
| 1486 | */ |
| 1487 | static arrayUnique(...arrays) { |
| 1488 | return [...new Set([].concat(...arrays))]; |
| 1489 | } |
| 1490 | |
| 1491 | /** |
| 1492 | * Merge all the given Maps by keeping only unique elements, and return a new Map with de-duplicated keys. |
no outgoing calls
no test coverage detected