What Is an if let Expression? #
if let is a conditional expression that allows pattern matching. The block of code in the construct executes if the pattern in the condition matches with that of scrutinee expression.
Syntax #
The if let expression begins ...