assert: Checks whether cond holds true if not throws an error

Description Usage Arguments

Description

Can be used for checking for errors in functions

Usage

1
assert(cond)

Arguments

cond

a condition that is checked


restorepoint documentation built on May 2, 2019, 7:47 a.m.