bool::parse

Converts the specified string representation of a logical value to its bool equivalent.
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.

Requirements

Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions