class Crystal::Macros::NilableCast
Overview
A cast call: obj.as?(to)
Defined in:
compiler/crystal/macros.crInstance Method Summary
-
#obj : ASTNode
Returns the object part of the cast.
-
#to : ASTNode
Returns the target type of the cast.