funcTypeName

fun funcTypeName(paramTypes: List<Type>, returnTypes: List<Type>): String

This function produces a Go-style function type name such as func(int, string) string or func(int) (error, string)