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 Sept. 8, 2024, 4:49 p.m.