vwc.n: vwc.n

Description Usage Arguments Details Value Author(s) Examples

Description

Get number of conditions of a given type for an AnalysisPageValueWithConditions

Usage

1
vwc.n(vwc, type)

Arguments

vwc

AnalysisPageValueWithConditions

type

"messages", "warnings" or "error"

Details

Get number of conditions of a given type for an AnalysisPageValueWithConditions.

Value

Number of conditions. (For "error" it can only be 0 or 1, and is equivalent to calling as.integer(vwc.is.error())).

Author(s)

Brad Friedman

Examples

1
2
vwc <- tryKeepConditions({stop("This isn't going to work")})
vwc.n(vwc, "error")

apomatix/AnalysisPageServer documentation built on May 26, 2019, 11:36 a.m.