is_output: Verify output

Description Usage Arguments Value Methods (by class) Examples

Description

Verify that the name of a output is valid for an object

Usage

1
2
3
4
is_output(obj, name)

## S4 method for signature 'struct_class'
is_output(obj, name)

Arguments

obj

A model or iterator object derived from the *struct* class

name

Name of output

Value

TRUE if output name is valid, FALSE if not

Methods (by class)

Examples

1
2
3
M = example_model()
is_output(M,'result_1') # TRUE
is_output(M,'result_0')   # FALSE

struct documentation built on Nov. 8, 2020, 8:14 p.m.