How to use [function]
The reference page of function has its arguments, constraints and declaration.
This slot is an alias for [slots.create], and creates a dynamic slot you can invoke with [signal]. Below is an example.
function:foo
return:int:57
signal:foo