Garry's Mod Wiki

Revision Difference

Global.IsEntity#529064

<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>⤶ <description>Returns if the passed object is an <page>Entity</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>