On this pagearrayCriteria Index FunctionsnotEmptyofsizeOfFunctions notEmptynotEmpty<T>(state: SchemaState<T[]>, options?: Options): Criteria<T[]>Require field array to not be empty.Type parametersTofof<T>(state: SchemaState<T[]>, itemsSchema: Schema<T>): Criteria<T[]>Require field array items to be of a specific schema type. Will rebuild the array and type cast values.Type parametersTsizeOfsizeOf<T>(state: SchemaState<T[]>, size: number, options?: Options): Criteria<T[]>Require field array to be of a specific size.Type parametersT
Require field array to not be empty.