Skip to content

HierarchicalKey.IsAncestorOf(HierarchicalKey)

IsAncestorOf(HierarchicalKey)

View source
public bool IsAncestorOf(HierarchicalKey other)
Tests whether this key is equal to or an ancestor of the other key.

Parameters

otherHierarchicalKey
The identity to inspect.

Returns

Whether the full prefix consists of equal ordinal segments. Unset keys return false.