flat_fmap
flat_fmap(items: Iterable[In], fn: Callable[[In], Iterable[Out]])Apply fn to each element in items and flatten one level.
Parameters
items : Iterable[In]-
The sequence of items, such as a list, array, or dict.
fn : Callable[[In], Iterable[Out]]-
The function to apply to each element of
items.
Returns
list[Out]-
A list that has one level removed.