Answer:
assert()
Step-by-step explanation:
The assert function takes a boolean as an input, and when true, it just continues the flow, however if false it prints an error and calls exit.
1.6m questions
2.0m answers