get in oak
In
oak
, how do I check whether a request is the root?
It
- starts with slash
- is of length 1
but is NOT equal to "/"
console output
1 Reply
Your “is_not_slash” is in fact doing “is_slash” because of the negation at the beginning I believe ?