boolean Function (Windows CE 5.0)

Send Feedback

Converts the argument to a Boolean.

booleanboolean(object)

Parameters

  • object
    Object to be converted to a Boolean.

Return Values

Converts its argument to a Boolean as shown in the following list:

  • A number is True if and only if it is neither a positive or negative zero, nor NaN.
  • A node-set is True if and only if it is non-empty.
  • A string is True if and only if its length is non-zero.
  • An object of a type other than the four basic types described in XPath is converted to a Boolean in a way that is dependent on that type.

Requirements

None.

See Also

Boolean Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.