machineuser
Sync widgets demo
5556095
raw
history blame
271 Bytes
const isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined";
const isWebWorker =
typeof self === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope";
export const isBackend = !isBrowser && !isWebWorker;