MCPcopy Create free account
hub / github.com/api3dao/airnode / isMacOrWindows

Function isMacOrWindows

packages/airnode-examples/src/utils.ts:28–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 * @returns true if this platform is MacOS, Windows or WSL
27 */
28export const isMacOrWindows = () => process.platform === 'win32' || process.platform === 'darwin' || isWsl;
29
30/**
31 * @returns true if platform is Windows or WSL

Callers 2

mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected