cairo-vm-go icon indicating copy to clipboard operation
cairo-vm-go copied to clipboard

FindElement

Open cicr99 opened this issue 11 months ago • 3 comments

Searches for a specific key within an array and returns its index, asserting the validity of the index and size constraints.

Reference : https://github.com/starkware-libs/cairo-lang/blob/efa9648f57568aad8f8a13fbf027d2de7c63c2c0/src/starkware/cairo/common/find_element.cairo#L29

Depends on #245 for accessing global variables.

cicr99 avatar Mar 11 '24 10:03 cicr99