MCPcopy Create free account
hub / github.com/KnowledgeXLab/LeanRAG / is_float_regex

Function is_float_regex

tools/_utils.py:172–173  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

170
171
172def is_float_regex(value):
173 return bool(re.match(r"^[-+]?[0-9]*\.?[0-9]+$", value))
174
175
176def compute_args_hash(*args):

Calls

no outgoing calls

Tested by

no test coverage detected