metaCall

fun metaCall(nargs: Int, metamethod: String, span: Span? = null)

Performs a metamethod call on the value nargs below the top of the stack.

Parameters

nargs

The number of arguments to pass to the metamethod.

metamethod

The name of the metamethod to call.

span

The span of the call. May be null if unknown.