change: add docu and test case

This commit is contained in:
Sebastian Wehling-Benatelli 2024-07-16 12:08:00 +02:00
parent 6cce05b035
commit 2b01e8207e

View File

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