We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentd8161ac commitbb8cef6Copy full SHA for bb8cef6
README.md
@@ -58,6 +58,14 @@ is_string('hello') # returns true
58
is_string(b'hello') # returns false
59
~~~~
60
61
+**is_full_string**: checks if the given object is non empty string
62
+~~~~
63
+is_full_string(None) # returns false
64
+is_full_string('') # returns false
65
+is_full_string(' ') # returns false
66
+is_full_string('foo') # returns true
67
68
+
69
**is_number**: checks if the given string represents a valid number
70
71
is_number('42') # returns true
@@ -78,14 +86,6 @@ is_decimal('42.0') # returns true
78
86
is_decimal('42') # returns false
79
87
80
88
81
-**is_full_string**: checks if the given object is non empty string
82
-~~~~
83
-is_full_string(None) # returns false
84
-is_full_string('') # returns false
85
-is_full_string(' ') # returns false
-is_full_string('foo') # returns true
-
89
**is_url**: checks if the given string is an url
90
91
is_url('foo.com') # returns false