toggle menu
metis-lang
jvm
switch theme
search in API
metis-lang
/
io.github.seggan.metis.runtime.intrinsics
/
zeroArgFunction
zero
Arg
Function
inline
fun
zeroArgFunction
(
crossinline
fn
:
State
.
(
)
->
Value
)
:
OneShotFunction
Creates a
OneShotFunction
with zero arguments.
Return
The created function.
Parameters
fn
The function to execute.
See also
One
Shot
Function