one
  inline fun oneArgFunction(requiresSelf: Boolean = false, crossinline fn: State.(Value) -> Value): OneShotFunction
Creates a OneShotFunction with one argument.
Return
The created function.
Parameters
requires
Whether the function requires a self argument.
fn
The function to execute.