Question : solidity array length
Answered by : john-appleseed
uint8[3] fixedList;
// fixedList.length => 3
uint8[] dynamicList;
uint8.push(1)
uint8.push(2)
// dynamicList.length => 2
Source : | Last Update : Sat, 30 Apr 22
Answered by : john-appleseed
uint8[3] fixedList;
// fixedList.length => 3
uint8[] dynamicList;
uint8.push(1)
uint8.push(2)
// dynamicList.length => 2
Source : | Last Update : Sat, 30 Apr 22