hodash.flatten-to-set
Version:
Flattens an Array/Set. All children which implement .forEach will be flattened into output, alongside non-iterables.
6 lines (3 loc) • 160 B
JavaScript
Flattens an Array/Set. All children which implement .forEach will be flattened into output, alongside non-iterables.