One of the most common operations performed on arrays is to determine whether an element is found inside the array or not.
There should be a function that is dedicated to this fundamental operation. My workaround is to use the "Search 1D Array" function followed by a "Greater Or Equal To 0?" function, as seen below. While it only takes a few seconds to drop the geqz function using Quick Drop, it's still slightly frustrating that this is necessary.
The set and map data types rightly have been given the "Element of Set?" and "Look In Map" functions. An equivalent should be provided for arrays.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.