lua-users home
lua-l archive

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


On Mon, Oct 14, 2013 at 4:05 PM, Rena <hyperhacker@gmail.com> wrote:
> [1] Strictly speaking, return x if it's a table or something that can be
> converted to one (and apply said conversion) - just as all the other
> to<type> functions work. But there's no other type that can be converted to
> a table.

There's always a possibility for a __totable metamethod, which
*could*, perhaps, be useful for userdata (or for crazy black magic
with other types).

-- 
NI!

() - www.asciiribbon.org
/\ - ascii ribbon campaign against html e-mail and proprietary attachments