class Crystal::Macros::If inherits Crystal::Macros::ASTNode ¶ An if expression. Methods¶ #cond : ASTNode ¶ Returns this if's condition. View source #else : ASTNode ¶ Returns this if's else clause's body. View source #then : ASTNode ¶ Returns this if's then clause's body. View source