Dimensions
Functions
getDimension
▸ getDimension(): Dimension
Helper function to get the current dimension. Most of the time, this will be Dimension.MAIN,
but it can change if e.g. the player is in the mirror world of Downpour/Dross.
Returns
Dimension
Defined in
packages/isaacscript-common/src/functions/dimensions.ts:10
inDimension
▸ inDimension(dimension): boolean
Parameters
| Name | Type |
|---|---|
dimension | Dimension |
Returns
boolean