providedFunction

The user maybe wants to filter the items by a specific type, but they don't always want all versions of the item. To stop the invcleaner from keeping items of every type, we can specify what function a specific item serves. If that function is already served, we can just ignore it.