invoke
Validates that a given list is not empty.
Return
A ValidationResult object indicating the success or failure of the validation.
Parameters
list
The list to be validated.
name
The name or description of the list for error messages.
Validates that a given list is not empty.
A ValidationResult object indicating the success or failure of the validation.
The list to be validated.
The name or description of the list for error messages.