KorteFunction

data class KorteFunction(val name: String, val eval: suspend KorteTemplate.EvalContext.(args: List<Any?>) -> Any?)

Constructors

Link copied to clipboard
constructor(name: String, eval: suspend KorteTemplate.EvalContext.(args: List<Any?>) -> Any?)

Properties

Link copied to clipboard
val eval: suspend KorteTemplate.EvalContext.(args: List<Any?>) -> Any?
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun eval(args: List<Any?>, context: KorteTemplate.EvalContext): Any?