listLength<T> function

IEskValidator listLength<T>(
  1. List<IEskValidator> validators
)

/////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// Validates that it's a List and the length matches the validators

Implementation

// List Validators
//////////////////////////////////////////////////////////////////////////////////

/// Validates that it's a List and the length matches the validators
IEskValidator listLength<T>(List<IEskValidator> validators) => isList<T>() & length(validators);