We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 754426e commit c145705Copy full SHA for c145705
1 file changed
README.md
@@ -34,12 +34,12 @@ Here are the following identifiers for you to use in this package.
34
import ATSyntaxTools
35
36
do {
37
- let isHandleValid = HandleValidator.isHandleValid("alice.test")
+ let isHandleValid = HandleValidator.isValid("alice.test")
38
print(isHandleValid) // returns `true`.
39
40
try HandleValidator.validate("alice.test") // Doesn't throw; handle is valid.
41
42
- let isHandleValid2 = HandleValidator.isHandleValid("al!ce.test")
+ let isHandleValid2 = HandleValidator.isValid("al!ce.test")
43
print(isHandleValid2) // returns `false`.
44
45
try HandleValidator.validate("al!ce.test") // Throws InvalidHandleError.
0 commit comments