Skip to content

vl-remove-if-not

(vl-remove-if-not function list)

Only the elements for which the function returns non-nil.

(vl-remove-if-not 'numberp '(1 "a" 2))   ; (1 2)

Download LinceCAD Manual contents