Am i using typeof() wrong?

if typeof(NewCreature.MovePool[v.Value]) == "Table" then print("IsTable") end

the “Table” part gets highlited red as if it was an error.

It’s supposed to be “table”, all native types starts with lowercase characters.

1 Like

i believe the value is “table” not capitalized.

1 Like

Turns out the corect property is not a string, just: table
nvm it’s a string