A cast call: obj.as(to)
Returns the object part of the cast.
Returns the target type of the cast.
Crystal::Macros::ASTNode
Reference
Reference
Object
Object
© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/Crystal/Macros/Cast.html