List.MatchesAny
Syntax
List.MatchesAny(list as list, condition as function) as logical
About
Returns true
if the condition function, condition
, is satisfied by any of values in the list list
, otherwise returns false
.
Example 1
Find if any of the values in the list {9, 10, 11} are greater than 10.
Usage
List.MatchesAny({9, 10, 11}, each _ > 10)
Output
true
Example 2
Find if any of the values in the list {1, 2, 3} are greater than 10.
Usage
List.MatchesAny({1, 2, 3}, each _ > 10)
Output
false
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for