index
index returns the position of a value inside a list.
Notes
- Use it when you need the first matching position.
- It is the list counterpart to
lookupfor maps. - It raises an error if the value is not present.
index returns the position of a value inside a list.
lookup for maps.