lua-users home
lua-l archive

Conventional name proposal: merge

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


merge(...): returns a new table containing all the pairs from all the
 tables given as arguments. In particular, if there is only one argument,
 returns a shallow copy. In case of duplicate keys, later values
 replace earlier ones. Nil arguments are treated as empty tables.
The documentation is much longer than the code!

AltStyle によって変換されたページ (->オリジナル) /