Swift: Type Casting in For Loop

Okay. I need to jot this down somewhere, because i find myself googling this snippet, at least once a month.
It’s not complex, but for some reason, it’s constantly slipping off my mind!

for case let children as ElementNode in rootNode.children { }

%d