Arity

data class Arity(val required: Int, val requiresSelf: Boolean = false, val isVarargs: Boolean = false)

The argument information for a CallableValue.

Constructors

Link copied to clipboard
constructor(required: Int, requiresSelf: Boolean = false, isVarargs: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val isVarargs: Boolean = false

Whether the function takes a variable number of arguments on top of the required ones. Currently not implemented.

Link copied to clipboard

The number of arguments the function requires.

Link copied to clipboard
val requiresSelf: Boolean = false

Whether the function requires a self argument.

Functions

Link copied to clipboard