getType

getType([number entity]) → integer type
Returns given entity's type.

Returns the entity type of the entity entity.

Parameters
Return