change: add docu and test case
This commit is contained in:
parent
6b7f297d7a
commit
8eb958c91b
@ -357,6 +357,8 @@ def get_bool(value):
|
||||
False
|
||||
>>> get_bool(None)
|
||||
None
|
||||
>>> get_bool('Stream')
|
||||
'Stream'
|
||||
"""
|
||||
if type(value) == bool:
|
||||
return value
|
||||
|
Loading…
Reference in New Issue
Block a user