Skip to content

five-on-it / packages/sim/src/character / isDog

Function: isDog() ​

isDog(sim, eid): boolean

Defined in: packages/sim/src/character.ts:244

Whether an entity is a dog: a character in a dog's body (the same on the server and on a client's twin), never a car or anything else that took a dog's id over.

Parameters ​

sim ​

SimWorld

eid ​

number

Returns ​

boolean