Skip to content

OptionalArgumentBuilder<T>

extendsPropertyDelegateProvider<Arguments, ReadOnlyProperty<Arguments, T?>>

An optional positional argument, reached via ArgumentBuilder.optional. Resolves to null when absent.

ArgumentBuilders.kt

Functions

provideDelegate

open operator override fun provideDelegate(thisRef: Arguments, property: KProperty<*>): ReadOnlyProperty<Arguments, T?>
ArgumentBuilders.kt

Released under the Apache License 2.0.