oof icon indicating copy to clipboard operation
oof copied to clipboard

Custom Iterators for some API stuff

Open rdev34 opened this issue 5 years ago • 0 comments

For some api stuff we should make iterators that work like: for player in Players:GetPlayers() do

instead of what we currently have: for player_uid, player in pairs(Players:GetPlayers()) do

Since iterator code is very unreadable, every place where we make an iterator like this, we should provide an example usage as a comment above the function declaration

rdev34 avatar Nov 15 '20 07:11 rdev34