assertTrue: Assert that an expression is TRUE.

View source: R/assert.R

assertTrueR Documentation

Assert that an expression is TRUE.

Description

Assert that an expression is TRUE.

Usage

assertTrue(x, null = FALSE, call = parent.frame(), msg = NULL)

Arguments

x

Expression to check.

null

Whether it can be NULL.

call

Call argument that will be passed to cli error message.

msg

Custom error message.


omopgenerics documentation built on Sept. 30, 2024, 9:16 a.m.