R/ic.R
ic.Rd
User-friendly debug statements
ic(x)
An expression, or nothing
If x is an expression, returns the result of evaluating x. If x is missing nothing is returned.
x
f <- function(x) x < 0 ic(f(1)) #> [1] FALSE ic(f(-1)) #> [1] TRUE