getat
.getat from:{Iterable<Any>}
index:{Int}
orelse:{Dynamic = DynamicValue(NOT_FOUND)}
-> Any
Content copied to clipboard
Return
element at the given index, or NOT_FOUND if the index is out of bounds
Parameters
from
- Likely named
collection to get the element from
index
index of the element to get (starting at 1)
orelse
- Optional
- Likely named
value to return if the index is out of bounds. If unset, false
is returned.