lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Is there a way to check if given table is "standard array", i.e. all
its indexes are natural numbers 1..n, with no number skipped?

Of course there are several ways to test for this, I'm just asking if
there isn't some sort of built-in function to check this.

--
Frantisek Fuka (yes, that IS my real name)
(and it's pronounced "Fran-tjee-shek Foo-kah")
My E-Mail: fuka@fuxoft.cz
My Homepage: http://www.fuxoft.cz
My blog: http://fuxoft.blogspot.com
My Jabber/GoogleTalk ID: fuxoft@gmail.com
My ICQ: 2745855