isMicrosoft function

bool isMicrosoft([
  1. PlatformDetector? detector
])
  • isMicrosoft : true if the current platform's company is Microsoft.

Implementation

bool isMicrosoft([PlatformDetector? detector]) =>
    (detector?.company ?? PlatformDetector.platform.company) ==
    PlatformCompany.microsoft;