For example, i have:
mapping(string => MyType) map;
var value = map[key];
What is equal 'value' if 'map' not contain the 'key'?
And how to determine the presence of the key in mapping?
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