Pattern Matching Values? #1728
-
Greetings, Thank you for this wonderful library! How can I pattern match values like strings and numbers... etc.? For example, in PureScript I can do: Many thx. |
Beta Was this translation helpful? Give feedback.
Answered by
DenisFrezzato
Jun 23, 2022
Replies: 1 comment
-
I don't think what you're asking falls within the scope of this library. I suggest you to take a look at https://github.com/gvergnaud/ts-pattern. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
geekox86
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't think what you're asking falls within the scope of this library. I suggest you to take a look at https://github.com/gvergnaud/ts-pattern.