We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1124522 commit 31d957dCopy full SHA for 31d957d
src/flags.ts
@@ -14,6 +14,7 @@ export const hasTTY = toBoolean(
14
);
15
16
/** Detect if global `window` object is available */
17
+// eslint-disable-next-line unicorn/prefer-global-this
18
export const hasWindow = typeof window !== "undefined";
19
20
/** Detect if `DEBUG` environment variable is set */
0 commit comments