sdk-common / com.tomtom.online.sdk.common.functional / Function1 / andThen

andThen

open fun <R2 : Any!> andThen(@NonNull after: (in R) -> out R2): ((A) -> R2)!

Returns a composed function that first applies this function to the given input and then applies the function passed as after to the result.

Parameters

after - (in R) -> out R2: function that will be applied after this function.

- type of the output of the composed function.

Return
((A) -> R2)!: a function composition.