Hello everyone. Please tell me how to check the presence of a key in mapping?

Is there an opportunity to do something like:
if key not in mappingArr:

Jul 12, 2023, 5:33 PM
depends on the mapping
and yes if mapping [index data ] != X
Jul 12, 2023, 5:36 PM
okay, thanks
how get key from mapping?
Jul 12, 2023, 5:37 PM
show the mapping in question and where you wanna call the value
contract or external
Jul 12, 2023, 5:38 PM

© 2024 Draquery.com All rights reserved.