mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Getter function ref
This commit is contained in:
parent
c94c77d2d1
commit
d2c0c5f462
@ -641,7 +641,7 @@ Not yet, as this requires two levels of dynamic arrays (``string`` is a dynamic
|
|||||||
If you issue a call for an array, it is possible to retrieve the whole array? Or must you write a helper function for that?
|
If you issue a call for an array, it is possible to retrieve the whole array? Or must you write a helper function for that?
|
||||||
===========================================================================================================================
|
===========================================================================================================================
|
||||||
|
|
||||||
The automatic :ref:`getters <visibility-and-getters>` function for a public state variable of array type only returns
|
The automatic :ref:`getter function <Getter Functions>` for a public state variable of array type only returns
|
||||||
individual elements. If you want to return the complete array, you have to
|
individual elements. If you want to return the complete array, you have to
|
||||||
manually write a function to do that.
|
manually write a function to do that.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user