5 Replies
Best approach?
If the substring is simple and constant the best way may be regex
ah that's cool
I don't recommend narrowing objects unless you mean it
Your example needs tuple under
message:['string', '=>',... ]
Yep regex also gives a free explanation
In error messagesYeah, it works, but it could be written better
Thanks