ASSERTIONS | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

ASSERTIONS

what is the proper use of assertions?

26th Dec 2017, 5:15 PM
Dungeon_Master
Dungeon_Master - avatar
1 Answer
+ 11
In computer programming, an assertion is a statement that a predicate (Boolean-valued function, i.e. a true–false expression) is expected to always be true at that point in the code.
28th Dec 2017, 2:03 AM
Scooby
Scooby - avatar