isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
8 lines • 405 B
TypeScript
import { Dimension } from "isaac-typescript-definitions";
/**
* 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.
*/
export declare function getDimension(): Dimension;
export declare function inDimension(dimension: Dimension): boolean;
//# sourceMappingURL=dimensions.d.ts.map