Functions with arbitrary argument counts
⭐ Starfall•Updated 2 days ago•0 views
Use varargs (...) in the signature; for fancier behavior use metatables (__index/__newindex/__call) to intercept lookups and calls.
How to make a function with an arbitrary number of arguments
Use varargs (...) in the signature; for fancier behavior use metatables (__index/__newindex/__call) to intercept lookups and calls.