8 lines
277 B
TypeScript
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;
|