R/riskmetic.R
is_risk_error.Rd
Provide information whether the object metric is an error or not.
is_risk_error(x)
An object
A logical value: if it is not a riskmetric metric it returns NA, but normally TRUE or FALSE.
NA
TRUE
FALSE
is_risk_error(1) #> [1] NA