SP.Publishing.Navigation.NavigationTermSetView.excludeDeprecatedTerms property (sp.publishing)
Gets or sets a value that indicates whether SP.Publishing.Navigation.NavigationTerm object (sp.publishing) objects are trimmed if the underlying term is deprecated.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.Publishing.Navigation.NavigationTermSetView.get_excludeDeprecatedTerms()
SP.Publishing.Navigation.NavigationTermSetView.set_excludeDeprecatedTerms(value)
Return value
true if NavigationTerm objects are trimmed if the underlying term is deprecated; otherwise, false.