powered by
Check if objects is not empty
validateIsNotEmpty(object)
An object or a list of objects
If validations are successful, NULL is returned. Otherwise, error is signaled.
NULL
# NOT RUN { # returns `NULL` if of objects are of specified length validateIsNotEmpty(list(1, 2)) # error otherwise # validateIsNotEmpty(NULL) # }
Run the code above in your browser using DataLab