Function Entry: VL-MEMBER-IF-NOT
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: VL-MEMBER-IF-NOT
Name
vl-member-if-not
Class
Visual LISP List Function
Syntax
(vl-member-if-not comparator lst)
Arguments and Values
comparator: a symbol, function, or lambda expression; must return nil or non-nil.lst: any list of items.
Description
Returns the tail of lst starting with the first item for which comparator returns nil. Validation of each list item stops at the first element whose comparator evaluation is nil, and the remainder of the list from that element onward is returned. If comparator is non-nil for every element, returns nil.
Return Values
The list tail beginning at the first element where comparator returned nil, or nil if every element matches the comparator.
Side Effects
Side effects are those of calling comparator.
Examples
(vl-member-if-not '(lambda (x) (< x 5)) '(1 2 3 4 5 6 7 8 9 10))returns(5 6 7 8 9 10)— the first element for which(< x 5)is false is5, and the tail from5onward is returned.
Availability
- AutoCAD 2026: documented (Autodesk V Functions Reference; included in the family table).
- BricsCAD V26: documented (BricsCAD V26 dedicated per-symbol page).
- Status: documented in both vendors. Phase-5 closure achieved via direct citation of the BricsCAD V26 per-symbol page, which provides the per-element semantics that Autodesk's family-level prose only summarises.
See Also
vl-member-if— companion that returns the tail from the first element where the comparator is non-nil.
Source Notes
- [V Functions Reference (AutoLISP 2026)](https://help.autodesk.com/cloudhelp/2026/ENU/AutoCAD-AutoLISP-Reference/files/GUID-26FF2BE2-B5BF-4DD1-A617-36727E51F516.htm)
- [vl-member-if-not (BricsCAD V26 DevRef)](https://developer.bricsys.com/bricscad/help/en_US/V26/DevRef/source/vl-member-if-not.htm)
- Status: documented (Phase 5 closure; BricsCAD per-symbol page is the authoritative narrative source for the predicate-stop semantics).