Files
Shifted/node_modules/chromatic/isChromatic.d.ts
2026-02-10 01:14:19 +00:00

8 lines
277 B
TypeScript

/**
* Returns `true` if running within Chromatic, `false` otherwise.
* @argument window - The window object whose `navigator` and/or `location` is
* used to determine if running in Chromatic.
*/
declare function isChromatic(window?: Window): boolean;
export = isChromatic;