Files
oxmysql/ui/src/utils/misc.ts
T
2021-12-30 20:05:07 +01:00

6 lines
219 B
TypeScript

// Will return whether the current environment is in a regular browser
// and not CEF
export const isEnvBrowser = (): boolean => !(window as any).invokeNative
// Basic no operation function
export const noop = () => {}