MCPcopy Create free account
hub / github.com/Enfoirer/Text2GraphRAG / is_float_regex

Function is_float_regex

nano_graphrag/_utils.py:216–217  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

214
215
216def is_float_regex(value):
217 return bool(re.match(r"^[-+]?[0-9]*\.?[0-9]+$", value))
218
219
220def compute_args_hash(*args):

Calls

no outgoing calls

Tested by

no test coverage detected