change: add docu and test case

This commit is contained in:
Sebastian Wehling-Benatelli 2024-07-16 12:08:00 +02:00 committed by Sebastian Wehling-Benatelli
parent 6b7f297d7a
commit 8eb958c91b

View File

@ -357,6 +357,8 @@ def get_bool(value):
False False
>>> get_bool(None) >>> get_bool(None)
None None
>>> get_bool('Stream')
'Stream'
""" """
if type(value) == bool: if type(value) == bool:
return value return value