isMacOS property

bool isMacOS

True if the operating system is OS X.

Implementation

bool get isMacOS => operatingSystem == macOS;