Rhai expressions cheatsheet
In this cheatsheet are grouped the most frequent manipulations that can be done through Rhai, for convenience.
Cheatsheet
Arrays
Finding the index of an element inside an array
["wow", "check"].index_of(|value| value == "check")
=> 1