Function Entry: VL-SOME
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: VL-SOME
Name
vl-some
Class
Visual LISP List Function
Syntax
(vl-some predicate list [list ...])
Arguments and Values
predicate: subroutine or symbollist: one or more lists
Description
Checks whether the predicate is non-nil for one element combination.
Return Values
Returns the first non-nil value produced by predicate, or nil if none.
Side Effects
Side effects are those of calling predicate.
Notes
- Autodesk documents that
predicatemay be supplied as:- a symbol naming a function,
- a quoted lambda form,
- a
(function (lambda …))form.
- Autodesk documents that elements are taken in lockstep from the supplied lists.
- Autodesk documents that evaluation stops as soon as
predicatereturns a non-nil value, or when one of the lists runs out.
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.
Source Notes
- [vl-some (AutoLISP)](https://help.autodesk.com/cloudhelp/2022/ENU/AutoCAD-AutoLISP-Reference/files/GUID-2840F793-DA88-4140-8A9D-EBAC47B62F9D.htm)
- Status: documented.