Filter Object of Objects
#
Get only specific objects from object of objectsIn this scenario I couldn't use the vanilla filter
method which can be used on arrays, so I had to look at other options.
Usually you are using object of objects when the id or unique identifier is being used as the key to make the search and filtering time complexity to be O(1) aka Hash Maps