Function Entry: VL-MEMBER-IF

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

Function Entry: VL-MEMBER-IF

Name

vl-member-if

Class

Visual LISP List Function

Syntax

(vl-member-if predicate list)

Arguments and Values

  • predicate: subroutine or symbol
  • list: list

Description

Determines whether the predicate is true for one of the list members and returns the corresponding tail of the list under member-style semantics.

Return Values

Returns a list tail beginning at the first matching element, or nil.

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 each element of list is passed to predicate in sequence until a non-nil result is obtained or the list is exhausted.

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.