type.of_type | R Documentation |
Any values of the wrong class will cause failure of validation. This is
particularly useful for custom vectors of for list types (e.g. list(of_type(lm))
)
type.of_type(type, .not_null = FALSE)
type |
the class of the type we are checking as a symbol |
.not_null |
are NULL values allowed (for list column entries only) |
a function that can check the input is of the correct type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.