function

fun function(name: String, arguments: List<MilanoType>, returns: MilanoType): MilanoViewBuilder

Declares (or overrides) a host function for this surface (contract 2.1): its argument types in order and its return type join the vocabulary's declarations for this builder only. The engine's function handler resolves it by name like any other.