View source: R/assert_scalar.R
assert_scalar | R Documentation |
Ensure an element is atomic and length 1
assert_scalar(x)
x |
[any] some element |
[std_err] stop if not length 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.