Skip to content

Commit 0ab8e03

Browse files
author
Dean Karn
authored
Merge pull request #607 from johnbailon/number_documentation
Add number validator to documentation
2 parents 7e978ff + 198646c commit 0ab8e03

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,13 @@ This validates that a string value contains unicode alphanumeric characters only
620620
621621
Usage: alphanumunicode
622622
623+
Number
624+
625+
This validates that a string value contains number values only.
626+
For integers or float it returns true.
627+
628+
Usage: number
629+
623630
Numeric
624631
625632
This validates that a string value contains a basic numeric value.

0 commit comments

Comments
 (0)