| chk_used | R Documentation | 
Checks if is ... used using
length(list(...)) != 0L
chk_used(...)
vld_used(...)
| ... | Additional arguments. | 
The chk_ function throws an informative error if the test fails.
vld_used(): Validate ... Used
length()
For more details about the use of this function,
please read the article
vignette("chk-families").
Other ellipsis_checkers: 
chk_unused()
# chk_used
fun <- function(x, ...) {
  chk_used(...)
  x
}
try(fun(1))
fun(1, 2)
# vld_used
fun <- function(x, ...) {
  vld_used(...)
}
fun(1)
fun(1, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.