OptionalArgumentBuilder
class OptionalArgumentBuilder<T : Any> : PropertyDelegateProvider<Arguments, ReadOnlyProperty<Arguments, T?>>
An optional positional argument, reached via ArgumentBuilder.optional. Resolves to null when absent.
Type Parameters
T
the argument's value type.
Functions
Link copied to clipboard
open operator override fun provideDelegate(thisRef: Arguments, property: KProperty<*>): ReadOnlyProperty<Arguments, T?>