Garry's Mod Wiki

table.ForceInsert

  table table.ForceInsert( table tab = {}, any value )

Description

Inserts a value in to the given table even if the table is non-existent

Arguments

1 table tab = {}
Table to insert value in to
2 any value
Value to insert

Returns

1 table
The supplied or created table