How do I get the size of an array or table?
You can use len():
`x <- [1,2,34,5];
y <- { a = 1, b = 2 };
server.log("x: " + x.len());
server.log("y: " + y.len());`
Works as expected. Thanks!
How do I get the size of an array or table?
You can use len():
`x <- [1,2,34,5];
y <- { a = 1, b = 2 };
server.log("x: " + x.len());
server.log("y: " + y.len());`
Works as expected. Thanks!