File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,14 @@ is_string('hello') # returns true
58
58
is_string(b'hello') # returns false
59
59
~~~~
60
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
+
61
69
** is_number** : checks if the given string represents a valid number
62
70
~~~~
63
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
86
- is_full_string('foo') # returns true
87
- ~~~~
88
-
89
89
** is_url** : checks if the given string is an url
90
90
~~~~
91
91
is_url('foo.com') # returns false
You can’t perform that action at this time.
0 commit comments