Garry's Mod Wiki

Revision Difference

Global.IsEntity#548759

<function name="IsEntity" parent="Global" type="libraryfunc"> <description>Returns if the passed object is an <page>Entity</page>. Alias of <page>Global.isentity</page>.</description> <realm>Shared</realm>⤶ <realm>Shared and Menu</realm>⤶ <args> <arg name="variable" type="any">The variable to check.</arg> </args> <rets> <ret name="" type="boolean">True if the variable is an <page>Entity</page>.</ret> </rets> </function>