is_output {struct} | R Documentation

## Verify output

### Description

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

### Usage

    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)

- `struct_class`:

### Examples

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

[Package struct version 0.99.9 Index]