UnaryBinding provides the implementation of a unary 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.UnaryOp)
| 329 | // UnaryBinding provides the implementation of a unary overload. The provided function is protected by a runtime |
| 330 | // type-guard which ensures runtime type agreement between the overload signature and runtime argument types. |
| 331 | func UnaryBinding(binding functions.UnaryOp) OverloadOpt { |
| 332 | return decls.UnaryBinding(binding) |
| 333 | } |
| 334 | |
| 335 | // BinaryBinding provides the implementation of a binary overload. The provided function is protected by a runtime |
| 336 | // type-guard which ensures runtime type agreement between the overload signature and runtime argument types. |