MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / value_to_boolean

Function value_to_boolean

keepercommander/keeper_dag/utils.py:8–15  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

6
7
8def value_to_boolean(value):
9 value = str(value)
10 if value.lower() in ['true', 'yes', 'on', '1']:
11 return True
12 elif value.lower() in ['false', 'no', 'off', '0']:
13 return False
14 else:
15 return None
16
17
18def kotlin_bytes(data: bytes):

Callers 15

__init__Method · 0.70
executeMethod · 0.50
_do_setMethod · 0.50
executeMethod · 0.50
get_connectionFunction · 0.50
get_connectionFunction · 0.50
executeMethod · 0.50
get_connectionFunction · 0.50
__init__Method · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected