UNPKG

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