DisableDeclaration disables the function signatures, effectively removing them from the type-check environment while preserving the runtime bindings.
(value bool)
| 295 | // DisableDeclaration disables the function signatures, effectively removing them from the type-check |
| 296 | // environment while preserving the runtime bindings. |
| 297 | func DisableDeclaration(value bool) FunctionOpt { |
| 298 | return decls.DisableDeclaration(value) |
| 299 | } |
| 300 | |
| 301 | // Overload defines a new global overload with an overload id, argument types, and result type. Through the |
| 302 | // use of OverloadOpt options, the overload may also be configured with a binding, an operand trait, and to |