Garry's Mod Wiki

table.IsEmpty

table.IsEmpty

  boolean table.IsEmpty( table tab )

Description

Returns whether or not the given table is empty.

This works on both sequential and non-sequential tables, and is a lot faster to use than table.Count(tbl) == 0.

Arguments

1 table tab
Table to check.

Returns

1 boolean
Is empty?

Special Pages


Wikis

?

Render Time: 64ms

DB GetPage 46
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 7