Swift LanguageSwift Advance functions


Introduction

Advance functions like map, flatMap, filter, and reduce are used to operate on various collection types like Array and Dictionary. Advance functions typically require little code and can be chained together in order to build up complex logic in a concise way.