Function - High Order Function
About
Higher-order functions are the basis of functional programming.
Higher-order functions are functions that:
- take other functions as arguments
- or return functions as their result.
See also: Function - Callback function
Duplicate or similar code will tell you that to create you own.