vl-remove-if
V Functions
vl-some
Returns
all elements of the supplied list that pass the test function
(vl-remove-if-not predicate-function list)
Arguments
-
predicate-function
-
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 symbol
(function name)
-
'(LAMBDA (A1 A2) ...)
-
(FUNCTION (LAMBDA (A1 A2) ...))
-
list
-
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)