SP.Taxonomy.TermSet.getAllTerms Method (sp.taxonomy)
Returns a collection containing a flat list of all Term objects in the TermSet object.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.Taxonomy.TermSet.getAllTerms()
Return value
SP.Taxonomy.TermCollection