Skip to main content

One doc tagged with "ResetVariable"

View All Tags

ResetVariable

In Solidity, using the delete keyword to remove a state variable resets it to the default value for its type. The default values differ according to the data type: