Function Entry: VL-REMOVE-IF-NOT

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: VL-REMOVE-IF-NOT

Name

vl-remove-if-not

Class

Visual LISP List Function

Syntax

(vl-remove-if-not predicate list)

Arguments and Values

  • predicate: subroutine or symbol
  • list: list

Description

Returns all elements of the supplied list that pass the test function.

Return Values

Filtered list.

Side Effects

Side effects are those of calling predicate.

Notes

  • Autodesk documents that predicate may be supplied as:
    • a symbol naming a function,
    • a quoted lambda form,
    • a (function (lambda …)) form.
  • Autodesk documents that the result contains all elements for which predicate returns a non-nil value.

Availability

  • AutoCAD 2026: documented (per Autodesk reference page).
  • BricsCAD V26: presumed compatible (no contradicting page found).
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.