Table Scanner
This utility allows you to scan tables so you don't have to write your own function. Arguments are below
scanTable(table table, criteria, bool returnLoc)
The first argument requires a table to search in. The second can be anything for the function to look for, like a string or a boolean. The last one is optional, and if it is true, it will return the int location the function found. Will be false if it didn't find what it was looking for.
Known bug: If there are multiple values the function found, and returnLoc is true, it will return the location of the last one it found.
EXAMPLE:
myTable={250, 100, "hello"} print(scanTable(myTable,100,true))
would print
2
This is a very simple utility I have made. I hope you like it.
DOWNLOAD: Click here to download
Make sure you save it to the apis folder!