[Docs] Document the use of meta methods for client.playerList
Seniru opened this issue · 0 comments
Seniru commented
According to libs/client.lua#L111, the field playerList
is associated with a meta table which defines the meta methods __len
and __pairs
, which of course allows us to do operations like #client.playerList
and pairs(client.playerList)
But as far as I can see, those meta methods are not documented
In my opinion it would be easier for both users and developers if they are documented