I have a pathname like this:
'/student/projects/41XrUP7E2-fHhOfzIK'
"/student/projects/41XrUP7E2-fHhOfzIK/edit"
and array of router path:
['/student/project/:contactid/school', "/student/projects/:projectId/edit", "/orderers/projects/:projectId"]
How can i check pathname is exist in app?