Returns all elements of the supplied list that pass the test function
(vl-remove-if-not predicate-function list)
Arguments
The test function. This can be any function that accepts a single argument and returns T for any user-specified condition. The predicate-function value can take one of the following forms:
A list to be tested.
Return Values
A list containing all elements of list for which predicate-function returns a non-nil value
Examples
(vl-remove-if-not 'vl-symbolp (list pi t 0 "abc")) (T)