langchain_core.runnables.graph
.is_uuid¶
- langchain_core.runnables.graph.is_uuid(value: str) bool [source]¶
检查字符串是否是有效的UUID。
- 参数:
value:要检查的字符串。
- 返回:
如果字符串是有效的UUID,则返回True,否则返回False。
- Parameters
value (str) –
- Return type
bool