A Typescript To Lua Binary Search Parses your sorted array and finds the member that has an arbitrary numeric value in an arbitrary field Includes a variant of binsearch that finds an index for your new member (see the included type declarations)