View source: R/02_S7_prop_factories.R
| prop_spec | R Documentation |
The machine-readable declaration behind a property: type, default, bounds, enum and description. Read it to generate documentation, a JSON Schema, or a defaults artifact from the class definition itself.
prop_spec(property)
property |
S7 property, from one of the |
Named list of spec fields, or NULL if the property was not built by
a prop_* factory.
EDG
temperature <- prop_float(default = 0.3, min = 0, max = 2)
prop_spec(temperature)[["maximum"]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.