Skip to content

Ambush

getAmbushType(): AmbushType | undefined

Defined in: packages/isaacscript-common/src/functions/ambush.ts:9

Helper function to get the corresponding ambush type for the current room. Returns undefined if the current room does not correspond to any particular ambush type.

AmbushType | undefined