PassiveSupport.List.compact

You're seeing just the function compact, go back to PassiveSupport.List module for more information.

Specs

compact(list()) :: list()

Returns a copy of list with any nil values removed

Examples

iex> compact([1,nil,3])
[1, 3]

iex> compact([false, nil, nil, "hi"])
[false, "hi"]