Returns FALSE if evaluation expr yields an error or is not TRUE.

true(expr, envir = parent.frame())

Details

Useful for customized hints were evaluating an expression may often cause errors, e.g. if a user did not define a variable.