list.filter
Filter items in list b out of list a. (similar to zl.filter)
list.filter(a, b): [out1, out2]
Arguments:
Arguments
Name | Type | Default | Description |
---|---|---|---|
a | list | A list in the left inlet will be filtered to remove any items contained in the right list. | |
b | list | A list of items that should be filtered out of the left input list. |
Returns
Name | Type | Description |
---|---|---|
out1 | list | A new list composed of any items in the left input list not contained in the right input list. |
out2 | list | Outputs a list of indices (zero-based) of the original positions for all non-filtered (remaining) list items. |