From 7807a1f36fbbe973a631f7a158a8b4860213f91e Mon Sep 17 00:00:00 2001 From: John Bailon Date: Sat, 2 May 2020 16:12:58 +0800 Subject: [PATCH] Add number validator in documentation --- doc.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc.go b/doc.go index 291c629..6c3494b 100644 --- a/doc.go +++ b/doc.go @@ -620,7 +620,14 @@ This validates that a string value contains unicode alphanumeric characters only Usage: alphanumunicode -Numeric +Number + +This validates that a string value contains number values only. +For integers or float it returns true. + + Usage: numeric + + Numeric This validates that a string value contains a basic numeric value. basic excludes exponents etc...