MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / check_normalized

Method check_normalized

graphlite/src/exec/executor.rs:8910–8919  ·  view source on GitHub ↗

Helper: Check if string is in normalized form

(&self, value: &Value)

Source from the content-addressed store, hash-verified

8908
8909 /// Helper: Check if string is in normalized form
8910 fn check_normalized(&self, value: &Value) -> Result<bool, ExecutionError> {
8911 match value {
8912 Value::String(_s) => {
8913 // For now, assume strings are normalized
8914 // In a full implementation, we would use unicode-normalization crate
8915 Ok(true)
8916 }
8917 _ => Ok(false), // Non-strings are not normalized
8918 }
8919 }
8920
8921 /// Helper: Check type compatibility
8922 fn check_type_match(

Callers 1

evaluate_is_predicateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected