singleOrNull property

XPathItem? get singleOrNull

The single item if this sequence has length 1, or null otherwise.

Implementation

XPathItem? get singleOrNull;