change: add docu and test case

This commit is contained in:
sebastianw authored and Sebastian Wehling-Benatelli committed 2024-08-30 14:58:52 +02:00
1 parent 6b7f297d7a
commit 8eb958c91b
1 file changed
+2
+2
View File
@@ -357,6 +357,8 @@ def get_bool(value):
False
>>> get_bool(None)
None
>>> get_bool('Stream')
'Stream'
"""
if type(value) == bool:
return value