54 - Function Types
Function types are the types of functions.
Variables of function type can be assigned from functions and function parameters of function type can be used to pass functions to and return functions from function calls.
They come in two flavours:
- Internal functions can only be called inside the current contract.
- External functions consist of an address and a function signature and they can be passed via and returned from external function calls.
- Variables -> Function Type
- Assigned <- Functions
- Parameters/Return Value
- Internal vs. External
- Usage: Minimal