vwc.conditions {AnalysisPageServer} | R Documentation

## vwc.conditions

### Description

Return condition object(s) for an AnalysisPageValueWithConditions

### Usage

    vwc.conditions(vwc, type = "messages")

### Arguments

`vwc` | AnalysisPageValueWithConditions
`type` | "messages" "warnings" or "error"

### Details

Return condition object(s) for an AnalysisPageValueWithConditions

### Value

List of condition objects for "messages" or "warnings" or a single condition object or NULL for "error".

### Author(s)

Brad Friedman

### See Also

`vwc.error.condition`, `vwc.messages.conditions`, `vwc.warnings.conditions`

### Examples

    vwc <- tryKeepConditions({message("whatever"); warning("warning message"); 3})
    vwc.conditions(vwc, "messages")
    vwc.conditions(vwc, "warnings")
    vwc.conditions(vwc, "error")

[Package AnalysisPageServer version 1.16.0 Index]