bool::parse

[This is preliminary documentation and subject to change.]

Converts the specified string representation of a logical value to its Boolean equivalent.

Usage

bool bool::parse(s)

Parameters

Name Type Description
s string A string containing the value to convert.

Return Value

true if s is equivalent to "True"; otherwise, false.

Exceptions

The function will fail in any of the following circumstances:

Requirements

Assembly: NAnt.Core (0.91.3881.0)