As the name specifies, selectors are functions that are utilized to select a subset of data from a bigger collection of data. A selector holds two types of information, as follows:
- Information about where to find a particular subset of data
- Return the requested subset of data