Garry's Mod Wiki

isentity

  boolean isentity( any variable )

Description

Returns if the passed object is an Entity.

Arguments

1 any variable
The variable to check.

Returns

1 boolean
True if the variable is an Entity.