Hi! My question is related to how we can verify if a value exists in an array without using loops like other normal languages in order to avoid elevated gas costs.
For example I provide an array of addresses and I need to check if an specific address its included in this array.
arrayOfAddress = [address1,address2,address3]; address addressToFound = someRandomAddress; addresToFound exists in arrayOfAddress ??