inline fun <T> OptionalInput<T>.ifPresent(block: (T) -> Unit)

Executes block with the value if this is OptionalInput.Defined

Parameters

block

executed if input is defined