listEmpty<T> function
Validate that the list is empty
Implementation
IValidator listEmpty<T>() => listLength<T>([isLte(0)]) >
Expectation(message: 'List to be empty', code: 'value.length_out_of_range', data: {'expected': 0});
Validate that the list is empty
IValidator listEmpty<T>() => listLength<T>([isLte(0)]) >
Expectation(message: 'List to be empty', code: 'value.length_out_of_range', data: {'expected': 0});