PassiveSupport.List.compact
You're seeing just the function
compact
, go back to PassiveSupport.List module for more information.
Link to this function
compact(list)
Specs
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"]