Summary
Converts the specified string representation of a logical value to
its
bool equivalent.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Containing Type
- Boolean
Conversion Functions
Syntax
[Function("parse")]
public static bool Parse(string s)
Attributes
| Type | Description |
|---|---|
| FunctionAttribute | Indicates that the method should be exposed as a function in NAnt build files. |
Parameters
| Name | Type | Description |
|---|---|---|
| s | string | A string containing the value to convert. |
Return Value
| Type | Description |
|---|---|
| bool |
true if s is equivalent to
"True"; otherwise, false.
|
