MCPcopy
hub / github.com/snyk/cli / isWindowsOperatingSystem

Function isWindowsOperatingSystem

test/utils.ts:81–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79 * @returns boolean
80 */
81export function isWindowsOperatingSystem(): boolean {
82 return platform().indexOf('win') === 0;
83}
84
85/**
86 * Conditionally run a test if the condition is true

Calls

no outgoing calls

Tested by 1

readFixtureFunction · 0.72