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 symbol
  • list: 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 predicate may 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 predicate returns 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.