Function

data class Function(val name: String, val parameters: List<String>, val body: (List<FeelValue>) -> FeelValue) : FeelValue

Function value.

FEEL functions can be built-in or user-defined.

Constructors

Link copied to clipboard
constructor(name: String, parameters: List<String>, body: (List<FeelValue>) -> FeelValue)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T : Any> asType(): T

Convert to Kotlin type T.

Link copied to clipboard

Check if this value is null.

Link copied to clipboard
fun toKotlin(): Any?

Convert FEEL value to Kotlin type.

Link copied to clipboard
open override fun toString(): String