UNPKG

540 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright 2022 Google LLC
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6/**
7 * A boolean that will be `true` in server environments like Node, and `false`
8 * in browser environments. Note that your server environment or toolchain must
9 * support the `"node"` export condition for this to be `true`.
10 *
11 * This can be used when authoring components to change behavior based on
12 * whether or not the component is executing in an SSR context.
13 */
14export declare const isServer = false;
15//# sourceMappingURL=is-server.d.ts.map
\No newline at end of file