How To Check The Length Of Array In Solidity

[Solved] How To Check The Length Of Array In Solidity | Solidity - Code Explorer | yomemimo.com
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

Answers related to how to check the length of array in solidity

Code Explorer Popular Question For Solidity