MCPcopy Index your code
hub / github.com/bugy/script-server / is_empty

Function is_empty

src/model/model_helper.py:187–188  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

185
186
187def is_empty(value):
188 return (not value) and (value != 0) and (value is not False)
189
190
191def fill_parameter_values(parameter_configs, template, value_wrappers):

Callers 15

get_request_bodyFunction · 0.90
normalize_user_valueMethod · 0.90
map_to_scriptMethod · 0.90
validate_valueMethod · 0.90
list_filesMethod · 0.90
_set_default_valueMethod · 0.90
get_script_outputMethod · 0.90
_read_pass_asFunction · 0.90

Calls

no outgoing calls

Tested by 1

test_next_idMethod · 0.72