Function

fun interface Function<T, R>(source)

Compat version of java.util.function.Function

Parameters

T

the type of the input to the operation

R

the type of the output of the function

Functions

Link copied to clipboard
abstract fun apply(value: T): R

Applies the function to the argument parameter.