property::is-readonly

Checks whether the specified property is read-only.
bool property::is-readonly(name)

Parameters

Name Type Description
name string The property to test.

Return Value

true if the specified property is read-only; otherwise, false.

Examples

Check whether the "debug" property is read-only.

property::is-readonly('debug')

Requirements

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