A decorator is really a function that usually takes a function being an argument and returns a closure. The closure is a set of internal functions and free variables. I will not down vote but urge Devs to consider this as an alternative to have null / empty checks as https://trehan-floors.in/