Linked: Swift enum pattern matching with extra conditions

from blog Hearthside by Caleb Hearth, | ↗ original