In the book, "Swift Programming Language 3.0", it mentioned that types of closure include:
Global functions are closures that have a name and do not capture any values
Nested function are closures that have a name and can capture values from their enclosing function
Closure expression are unnamed closure written in a lightweight syntax that can capture values from their surrounding context
I was just wondering does a function that exist in class scope count as a closure? One can certainly pass around such function as an argument to other function, but is it a closure?