The type of a proc or block argument, like String -> Int32
.
Returns the argument types, or an empty list if no arguments.
Returns the output type, or nil if there is no return type.
Crystal::Macros::ASTNode
Reference
Reference
Object
Object
Returns the argument types, or an empty list if no arguments.
Returns the output type, or nil if there is no return type.
© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/Crystal/Macros/ProcNotation.html