catif: Condition 'cat'

View source: R/catif.R

catifR Documentation

Condition cat

Description

Calls cat if cond==TRUE.

Usage

catif(cond, ...)

condition_cat(cond, ...)

Arguments

cond

logical: condition, if true then cat is called, otherwise not

...

further parameters

Value

Invisibly cond.

Examples

catif(TRUE, "PDF")      # Should appear
catif(FALSE, "Moodle")  # Should not appear

exams.forge documentation built on Sept. 11, 2024, 5:32 p.m.