is_output {struct} | R Documentation |
Verify that the name of a output is valid for an object
is_output(obj, name) ## S4 method for signature 'struct_class' is_output(obj, name)
obj |
A model or iterator object derived from the *struct* class |
name |
Name of output |
TRUE if output name is valid, FALSE if not
struct_class
:
M = example_model() is_output(M,'result_1') # TRUE is_output(M,'result_0') # FALSE