Skip to main content
added 1 character in body
Source Link
Badr Bellaj
  • 18.8k
  • 4
  • 59
  • 75

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.

Source Link
Badr Bellaj
  • 18.8k
  • 4
  • 59
  • 75

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.