How to type check if a string is a valid path #3118
Unanswered
aledoroshenko
asked this question in
Q&A
Replies: 1 comment
-
cc @chorobin |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to build a sidebar with links from a config, and looking for a way how to type check paths. I see
ValidateToPath
, but not sure how to use it.This is not working:
Beta Was this translation helpful? Give feedback.
All reactions