Garry's Mod Wiki

Revision Difference

Global.IsEntity#529065

<function name="IsEntity" parent="Global" type="libraryfunc"> <description>Returns if the passed object is an <page>Entity</page>.</description>⤶ <description>Returns if the passed object is an <page>Entity</page>. Alias of <page>Global.isentity</page>.</description>⤶ <realm>Shared</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>