- Source:
Members
(static, constant) RelationshipTypes :string
Relationship types used for calling FindRelative().
- Source:
Properties:
Name | Type | Description |
---|---|---|
PrevNode |
string | |
NextNode |
string | |
FirstNode |
string | |
LastNode |
string | |
RootNode |
string | |
ParentNode |
string | |
PrevSibNode |
string | |
NextSibNode |
string | |
FirstSibNode |
string | |
LastSibNode |
string | |
FirstChildNode |
string | |
LastChildNode |
string | |
FirstDescNode |
string | |
LastDescNode |
string |
RelationshipTypes
Type:
- string
(static, constant) VisitationTypes :string
Visitation types used for calling VisitNodes().
- Source:
Properties:
Name | Type | Description |
---|---|---|
AllNodes |
string | |
PrevNodes |
string | |
NextNodes |
string | |
ParentNodes |
string | |
SiblingNodes |
string | |
PrevSibNodes |
string | |
NextSibNodes |
string | |
ChildNodes |
string | |
DescendantNodes |
string |
VisitationTypes
Type:
- string
Methods
(static) AsNode(Itemopt) → (non-null) {Object}
Creates a root node.
- Source:
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
Item |
Object |
<optional> |
Object
|
The data item of the node.
If |
Returns:
The data item with an added Node
member.
- Type
- Object
(static) IsNode(Itemopt) → {boolean}
Determines if an item is a node.
- Source:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
Item |
Object |
<optional> |
The data item to inspect. |
Returns:
Returns true
if Item
is a node, otherwise false
.
- Type
- boolean