Friday, November 15, 2019

How to check whether a string contains a substring in TypeScript?

Usually I would expect a str.includes() method, but there doesn't seem to be one in TypeScript.

No comments:

Post a Comment