Throw an error if object doesn't match the specified type
1 | errorIfNotType(x, test_type)
|
x |
Logical expression. |
test_type |
String containing the type to test. Valid types: 'character', 'numeric' or 'logical' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.