table.maxn
Example
Demonstrates how this differs from the # operator.
Output: 1 = One
2 = Two
6 = Six
42 = Answer to life, the universe, and everything
2
42
Whereas the length operator (#) returns the highest sequential index, this returns the value of the highest numeric index.
Garry's Mod
Rust
Steamworks
Wiki Help