Skip to contents

Print object if condition holds

Usage

print_if(x, cond)

Arguments

x

Object to be printed conditionally.

cond

Logical. If TRUE, x is printed.

Value

The unaltered object x.