const isWindowsConst = /^win/.test(globalThis.process ? globalThis.process.platform : ''); export const isWindows = () => isWindowsConst;