Overloading length operator and rawlen function are missing

Issue Description

The description of the __len operator mentions that it only works with userdata objects, which is no longer true. The rawlen function that can be used to avoid the __len overload should be mentioned in the Lua Globals page near the other ‘raw’ functions.

Issue Area: Documentation Content
Page URL: Metatables | Roblox Creator Documentation and Lua Globals | Roblox Creator Documentation

3 Likes

Thanks for the report! We’ve filed a ticket in our internal database.

1 Like

Hi @Halalaluyafail3,

Just following up here that this should be updated in our documentation. rawlen has also been added to our Globals page. As always, thanks again for flagging these.

1 Like