Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
is(platformName: Platforms): boolean {
return isPlatform(this.win, platformName);
}
export const isPlatform = (platform: Platforms) => {
return isPlatformCore(window, platform);
};