Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
in short : the function assert(bool condition) : throws if the condition is not met.thus in youyour code if the condition is false the inside function will throw and stop the contract execution.
in short : the function assert(bool condition) : throws if the condition is not met.thus in you code if the condition is false the inside function will throw and stop the contract execution.
in short : the function assert(bool condition) : throws if the condition is not met.thus in your code if the condition is false the inside function will throw and stop the contract execution.
in short : the function assert(bool condition) : throws if the condition is not met.thus in you code if the condition is false the inside function will throw and stop the contract execution.