Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

localEnvironment.ts

5 lines172 Bytes

1export function isLocalEnvironmentDisabled(): boolean {
2 return (
3 typeof window !== "undefined" && window.desktopBridge?.getLocalEnvironmentEnabled() === false
4 );
5}