Version: v0.7.1 - Beta.  We welcome contributors & feedback.

String.isAlpha

isAlpha() -> boolean

Description

Return true if the string consists of all alphabetical (a-zA-Z) characters.

'Abc'.isAlpha()
//= true

'Abc123'.isAlpha()
//= false

See Also