detect nil arguments #12
Replies: 2 comments
-
Ah! This is an issue with the parser The problem is illiterating through a table with nil values. Roblox functions will not call these values which is why you don't see the nil values in the output The solution is to check whether the table is an array type or not but this can cause performance issues as EVERY value needs to be checked. |
Beta Was this translation helpful? Give feedback.
-
This has been resolved in the latest update. While it won't explicitly state nil (YET), it will show the indexes if the table is not ordered |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Basically detect nil arguments
Example
Without detecting nills
With detecting nills
Beta Was this translation helpful? Give feedback.
All reactions