Function


public fun interface Function<T extends Object, R extends Object>

Compat version of java.util.function.Function

Summary

Public methods

abstract @NonNull R
apply(@NonNull T value)

Applies the function to the argument parameter.

Public methods

apply

Added in 1.12.0
abstract @NonNull R apply(@NonNull T value)

Applies the function to the argument parameter.

Parameters
@NonNull T value

the argument for the function