8

What is the zero value of an Emum when initialized inside a struct of a mapping ?

jayD
  • 2,462
  • 2
  • 14
  • 25

1 Answers1

11

The default value of the enum variable/field is first value of an enum which has index 0.

Lukasz Zuchowski
  • 573
  • 2
  • 11