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