AnyEntity
Type Aliases
Section titled “Type Aliases”AnyEntity
Section titled “AnyEntity”AnyEntity =
Entity|EntityBomb|EntityEffect|EntityFamiliar|EntityKnife|EntityLaser|EntityNPC|EntityPickup|EntityPlayer|EntityProjectile|EntityTear
Defined in: packages/isaacscript-common/src/types/AnyEntity.ts:6
A type union that matches Entity, EntityBomb, EntityEffect, and so on.
This is useful for building generic functions that should accept any kind of entity.
