Details
Description
If you g.inject([1,2], 1])dedup(local) you get an casting error because "1" is not an Iterable and local only works with that type. Would be better if a dedup() of a non-iterable just returned the object itself. Consider other steps that use local and make similar improvements there for consistency.