How can I check if a variable or an array is already set, empty or null in solidity?
mapping (string => address) addresses;
How can we know addresses[key] is set or not?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community