assert
Revision as of 20:57, 8 November 2014 by Technolapin (talk | contribs)
The assert() function is a way to execute functions.
assert(foo, errmsg)
It will try to execute the function foo and will send errmsg as an error if it fail.
The assert() function is a way to execute functions.
assert(foo, errmsg)
It will try to execute the function foo and will send errmsg as an error if it fail.