NonNullableArityListOptionBuilder

Builder for arity-based list options that return non-nullable lists of lists.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open operator override fun provideDelegate(thisRef: Arguments, property: KProperty<*>): ReadOnlyProperty<Arguments, List<List<T>>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun validate(message: String = "Invalid arity group for @name: @value", predicate: (List<T>) -> Boolean): NonNullableArityListOptionBuilder<T>
Link copied to clipboard
fun validateCollection(message: String = "Invalid collection for @name: @value", predicate: (List<List<T>>) -> Boolean): NonNullableArityListOptionBuilder<T>

Validates the entire collection of arity groups for this non-nullable list option. The predicate receives the complete List> value (never null).