hodash.flatten-to-set

Flattens an Array/Set. All children which implement .forEach will be flattened into output, alongside non-iterables.

Browse on unpkg