Checks if the current operating system is the requested one.
import {isOperatingSystem, OperatingSystem} from '@augment-vir/node';if (isOperatingSystem(OperatingSystem.Mac)) { // do something} Copy
import {isOperatingSystem, OperatingSystem} from '@augment-vir/node';if (isOperatingSystem(OperatingSystem.Mac)) { // do something}
@augment-vir/node
Checks if the current operating system is the requested one.