Skip to content

Commit

Permalink
update examples & valid? documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
drkameleon committed Aug 28, 2024
1 parent e33ce23 commit 6e13055
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ valid?.url "https://arturo-lang.io"
valid?.email "loremIpsum@
; => false
; we may also check for more than one strings ;-)
valid?.email ["[email protected]", "[email protected]"]
; => true
```

> [!TIP]
Expand All @@ -56,7 +60,7 @@ check if given string is valid
##### Usage

<pre>
<b>valid?</b> <ins>str</ins> <i>:string</i>
<b>valid?</b> <ins>str</ins> <i>:string :block</i>
</pre>

##### Attributes
Expand Down

0 comments on commit 6e13055

Please sign in to comment.