SP.Publishing.Navigation.NavigationTerm.excludeFromCurrentNavigation property (sp.publishing)

Gets or sets whether this navigation term and its child terms are hidden from the current navigation menu.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.Publishing.Navigation.NavigationTerm.get_excludeFromCurrentNavigation()
SP.Publishing.Navigation.NavigationTerm.set_excludeFromCurrentNavigation(value)

Return value

true if this SP.Publishing.Navigation.NavigationTerm object (sp.publishing) object and its child terms are hidden from the current navigation menu; otherwise, false.