sdk-common / com.tomtom.online.sdk.common.functional / CheckedFunction1 / apply

apply

abstract fun apply(value: A): R

Applies this function to the given argument. Exception may be thrown while doing this.

Parameters

value - A: the function argument.

Exceptions

Exception - when function application thrown an exception.

Return
R: the function result.