Fermat
Search
⌃
K
👉
GETTING STARTED
Intro to Fermat
First steps
Extra controls
✨
YOUR OWN SUPERPOWERS
Templates
Tools
AI models
🪄
Creating your own Tools
Creating your first tool
Thinking spatially
Friendly APIs
Bringing an AI partner
📖
Arbor Language Reference
Welcome to arbor
Statements
Operators & Comparators
Structures
Looping
Functional
Map
Filter
Reduce
Any
All
Replace
Standard Library
View
Blocks
Powered By
GitBook
Comment on page
Any
You can compare all element of a
list
with a
function
. It returns true if any element of the
structure
evals true on the given function, otherwise, it returns false.
any [structure] with ([ID]):
[block]
end
Here, you can find an example with a
list
any [1,2,3,4] with (x):
x is 1
end
Output:
> true
Previous
Reduce
Next
All
Last modified
1yr ago