Params
page (Obj) – The Obj instance to be checked.
Returns
boolean
Example
Conditionally mark a navigation item as active:
Returns whether a page is either the current page or an ancestor of the current page.
Params
page (Obj) – The Obj instance to be checked.
Returns
boolean
Example
Conditionally mark a navigation item as active: