Skip to content

Commit

Permalink
fix: Duplicate 'ObservableMapList:GetListForKey'
Browse files Browse the repository at this point in the history
  • Loading branch information
OttoHatt authored Sep 23, 2023
1 parent 5d43437 commit a070456
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/observablecollection/src/Shared/ObservableMapList.lua
Original file line number Diff line number Diff line change
Expand Up @@ -198,23 +198,6 @@ function ObservableMapList:ObserveItemsForKeyBrio(key)
})
end

--[=[
Gets a list for a given key.
@param key TKey
@return { TValue }
]=]
function ObservableMapList:GetListForKey(key)
assert(key ~= nil, "Bad key")

local observableList = self:GetListForKey(key)
if not observableList then
return {}
end

return observableList:GetList()
end

--[=[
Gets the observable list for the given key
@param key TKey
Expand Down

0 comments on commit a070456

Please sign in to comment.