robertoschler over 1 year ago

Is using the bytes() function the proper way to check for empty data or field elements in Solidity?

I'm working through another Ethereum tutorial while I wait for Cryptozombies lesson 6. In it, the author uses "bytes().length != 0" to check for "... more

Karma symbol 50
Total Karma earned answering this question
Up gray arrow normal 0
Total Votes for this question
Speach bubble 1
Total Comments to this question