|
From: | Michael Heerdegen |
Subject: | Re: Testing whether a list contains at least one non-nil element |
Date: | Tue, 25 Oct 2022 14:05:27 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) |
Heime <heimeborgia@protonmail.com> writes: > I would like to test whether a list contains at least one non-nil > element? I'd use `cl-some': (cl-some #'identity my-list). There are lots of other possible solutions, like using a simple `while' loop or a `dolist' with `catch' and `throw'. Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |