FunctionBinding provides the implementation of a variadic overload. The provided function is protected by a runtime type-guard which ensures runtime type agreement between the overload signature and runtime argument types.
(binding functions.FunctionOp)
| 337 | // FunctionBinding provides the implementation of a variadic overload. The provided function is protected by a runtime |
| 338 | // type-guard which ensures runtime type agreement between the overload signature and runtime argument types. |
| 339 | func FunctionBinding(binding functions.FunctionOp) OverloadOpt { |
| 340 | return decls.FunctionBinding(binding) |
| 341 | } |
| 342 | |
| 343 | // LateFunctionBinding indicates that the function has a binding which is not known at compile time. |
| 344 | // This is useful for functions which have side-effects or are not deterministically computable. |