Solution Review: Filtering with Higher-Order Functions
This lesson discusses the solution to the challenge given in the previous lesson.
We'll cover the following...
We'll cover the following...
The program above has one basic function. The function even takes n as a parameter and returns a boolean value (see its header on line 24). If n is even, it will return true. Otherwise, it will return false. See the header of the Filter function on line 14. It takes a slice of ...