SP.Taxonomy.Term.getIsDescendantOf Method (sp.taxonomy)
Indicates whether the current Term object is a descendent Term of the specified Term.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.Taxonomy.Term.getIsDescendantOf(d)
Return value
true if the Term is a descendent of the specified Term; otherwise, false.
Parameters
d
ancestorTerm
The Term to verify is or is not an ancestor.