WIP: Simplify data structure #39
@ -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