Closed greyelf closed 5 years ago
There is no Instance Method equivalent of <inventory>.inv.length === 0 which makes it hard to programatically check if an inventory is empty, unless you know about the (correctly) undocumented <inventory>.inv Array property.
<inventory>.inv.length === 0
<inventory>.inv
Thanks for letting me know about these issues. Once I get an update together I'll let the user on the Q&A know.
There is no Instance Method equivalent of
<inventory>.inv.length === 0
which makes it hard to programatically check if an inventory is empty, unless you know about the (correctly) undocumented<inventory>.inv
Array property.