View source: R/validation-helpers.R
validateIsNotEmpty | R Documentation |
Check if objects is not empty
validateIsNotEmpty(object)
object |
An object or a list of objects |
If validations are successful, NULL
is returned. Otherwise, error is
signaled.
# returns `NULL` if of objects are of specified length validateIsNotEmpty(list(1, 2)) # error otherwise # validateIsNotEmpty(NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.