definition

inline fun FunctionOp.definition(fqn: String, block: Definition.() -> Unit): Definition(source)

Create a Definition which can be added to the FunctionOp.

A minimal example

function {
definition("my.fully.qualified.name") {}
}

Parameters

fqn

the fully qualified name of the function this Definition is representing

block

defines the Signatures of this Definition