Checks whether the predicate is not nil for one element combination
(vl-some predicate-functionlist [list]...)
Arguments
vl-some, and returns T on a user-specified condition. The predicate-function value can take one of the following forms:
The test function. This can be any function that accepts as many arguments as there are lists provided withA list to be tested.
vl-some function passes the first element of each supplied list as an argument to the test function, then the next element from each list, and so on. Evaluation stops as soon as the predicate function returns a non-nil value for an argument combination, or until all elements have been processed in one of the lists.
TheReturn Values
nil; otherwise nil.
The predicate value, if predicate-function returned a value other thanExamples
nlst (a number list) has equal elements in sequence:
The following example checks whether_$ (setq nlst (list 0 2 pi pi 4))
(0 2 3.14159 3.14159 4)
_$ (vl-some '= nlst (cdr nlst))
T