Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
drkameleon committed Aug 28, 2024
1 parent 6e13055 commit 1d3df29
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,19 @@ This package provides a function (`valid?`) that allows to check and validate st

Simply `import` it and use the included `valid?` function:

```arturo
```red
import "validator"!
valid?.url "https://arturo-lang.io"
; => true
valid?.email "loremIpsum@
; => false
```

And we may also check more than one strings:

; we may also check for more than one strings ;-)
```red
valid?.email ["[email protected]", "[email protected]"]
; => true
```
Expand Down

0 comments on commit 1d3df29

Please sign in to comment.