Map
Noun · Development
Definitions
Either (1) a key-value data structure (also called dictionary, hash map, or associative array) that provides near-constant-time lookup by key, or (2) a higher-order function that applies a transformation to every element of a collection, returning a new collection of results.
In plain English: A data structure that pairs keys with values for fast lookup, or a function that transforms every item in a list the same way.
Example: "We map over the user list to extract emails, then store the id-to-email map in Redis."