RawLength returns the length of the value at index. For strings, this is the length. For tables, this is the result of the # operator with no metamethods. For userdata, this is the size of the block of memory allocated for the userdata (not implemented yet). For other values, it is 0.
t := l.TypeOf(1) ArgumentCheck(l, t == TypeTable || t == TypeString, 1, "table or string expected") l.PushInteger(l.RawLength(1)) return 1 }},