Tests whether if the string contains only letters valid for the locale. For the US his would be (a-zA-Z).
expect(isAlpha('hello').value).toBeTruthy()
The target string
The locale argument, defaults to 'en-US'
Generated using TypeDoc
Tests whether if the string contains only letters valid for the locale. For the US his would be (a-zA-Z).
Example