def has_nul
import bend-kit-llm@0.13.0.1/sse.bend as Sseimport Base
82def has_nul(s: String) -> Bool:
83 match s:
84 case SNil{}:
85 False{}
86 case SCon{Chr{+c}, t}:
87 Bool.or(U32.is_zero(c), has_nul(t))
import bend-kit-llm@0.13.0.1/sse.bend as Sseimport Base
82def has_nul(s: String) -> Bool:
83 match s:
84 case SNil{}:
85 False{}
86 case SCon{Chr{+c}, t}:
87 Bool.or(U32.is_zero(c), has_nul(t))