function decorator
nounA function decorator is a special helper that adds extra powers to another function without changing how it looks.
The programmer used a function decorator to make the function run faster.
OTHER MEANINGS
2. In Python, a function decorator is a callable that takes a function and returns a new function, often written with the @ symbol.
She added @timer above the function to create a function decorator that logs its runtime.
3. A design pattern where a function wraps another to extend its behavior dynamically.
The logging function decorator records every call to the original function.
4. A tool in some programming languages that attaches metadata or behavior to a function at definition time.
The framework uses a function decorator to register the handler with the router.