assert: Assert

View source: R/exception.R

assertR Documentation

Assert

Description

Assert: throw exception if the condition is not satisfied.

Usage

assert(condition, message = "assert error")

Arguments

condition

Condition for assert.

message

Exception message if the condition is not satisfied.


hmito/hmRLib documentation built on March 13, 2024, 9:41 p.m.