CakePlatformExtensions.

IsOSX(ICakePlatform) Method

Summary

Determines whether the specified platform is a macOS platform.
Namespace
Cake.Core
Containing Type
CakePlatformExtensions

Syntax

public static bool IsOSX(this ICakePlatform platform)

Parameters

Name Type Description
platform ICakePlatform The platform.

Return Value

Type Description
bool true if the platform is a macOS platform; otherwise false.