CakeArguments.

HasArgument(string) Method

Summary

Determines whether or not the specified argument exist.
Namespace
Cake.Core
Containing Type
CakeArguments

Syntax

public bool HasArgument(string name)

Parameters

Name Type Description
name string The argument name.

Return Value

Type Description
bool true if the argument exist; otherwise false.