View source: R/validation-helpers.R
| validateIsSameLength | R Documentation | 
Check if all objects are of same length
validateIsSameLength(...)
... | 
 Objects to compare.  | 
If validations are successful, NULL is returned. Otherwise, error is
signaled.
# returns `NULL` if of objects are of same length
validateIsSameLength(list(1, 2), c("3", "4"))
# error otherwise
# validateIsSameLength(list(1, 2), c("3", "4"), c(FALSE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.