Functions
Last updated
Last updated
Function Structure
public
-> visibility declaration
view
-> Indicates function behavior
returns
-> type of variable being returned
You cannot create a function with the same name as a storage variable. Will conflict with getter function.