---
title: "Discussion on \"First Class functions in Swift\" | Hashnode"
description: "Discussion on \"First Class functions in Swift\". Swift has first-class functions. First-class functions can be\n\nStored into variable\n\nReturned from a function\n\nPassed as an argument\n\n\nReturning a function from another function and storing them in a variable\nfunc add(p1: Int, p2: Int) -> Int {\n\nretu..."
url: "https://hashnode.com/posts/first-class-functions-in-swift/639d3387905eea7d42ffa49b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [First Class functions in Swift](https://tech.radhakrishnan-s.co.uk/first-class-functions-in-swift?utm_source=hashnode&utm_medium=feed)

Swift has first-class functions. First-class functions can be Stored into variable Returned from a function Passed as an argument Returning a function from another function and storing them in a variable func add(p1: Int, p2: Int) -> Int { retu...

Dec 17, 2022 · 2 min read · tech.radhakrishnan-s.co.uk  
Read the article

-   [#swift](https://hashnode.com/tag/swift)
-   [#functional-programming](https://hashnode.com/tag/functional-programming)

## Written by

[Radhakrishnan Selvaraj](https://hashnode.com/@itsmekrishnan87)

@itsmekrishnan87

  
[View profile](https://hashnode.com/@itsmekrishnan87)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
