catif: catif

View source: R/catif.R

catifR Documentation

catif

Description

Calls cat if cond==TRUE.

Usage

catif(cond, ...)

Arguments

cond

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

...

further parameter given to cat

Value

nothing

Examples

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

sigbertklinke/exams2moodle documentation built on July 6, 2023, 3:26 p.m.