useIsActivePath
On this page
Whether to names the current page, or with end: false one of its ancestors.
import { useIsActivePath } from "ardo/runtime"
useIsActivePath(to: string, end?: boolean): boolean
Parameters
| Name | Type | Required |
|---|---|---|
to | string | Yes |
end | boolean | No |
Returns
boolean