Non Nullable Arity List Option Builder
class NonNullableArityListOptionBuilder<T : Any> : PropertyDelegateProvider<Arguments, ReadOnlyProperty<Arguments, List<List<T>>>> (source)
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
fun <U> requireIfValue(ref: KProperty<U>, predicate: (U?) -> 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).