class

Crystal::Macros::NilableCast

Inherits Crystal::Macros::ASTNode

A cast call: obj.as?(to)

Instance methods

obj

Returns the object part of the cast.

Source
to

Returns the target type of the cast.

Source