threeArgFunction

inline fun threeArgFunction(requiresSelf: Boolean = false, crossinline fn: State.(Value, Value, Value) -> Value): OneShotFunction

Creates a OneShotFunction with three arguments.

Return

The created function.

Parameters

requiresSelf

Whether the function requires a self argument.

fn

The function to execute.

See also