Language GuideBuilt-in TypesArrayMethodsfind_indexOn this pagefind_indexFind the index of the first element based on the test. [3,1,2,3].find_index((thisElement) => thisElement === 3); // returns 0u Syntax find_index(callback) Returns The first found value's index as uint. An undefined when nothing is found. Notes The callback is expected to contain ONE parameter.