In ESOLua on LIVE (5.0) and PTS (5.1), rawset doesn't return anything (not even nil).
According to
Lua 5.1 /
5.2 /
5.3 reference, rawset(t, k, v) should return t. I tested one other interpreter, lua5.1 from Ubuntu bionic, and it does return the table.