Skip to main content

lookup_first_string

Function lookup_first_string 

Source
pub fn lookup_first_string(args: &Value, keys: &[&str]) -> Option<String>
Expand description

First non-blank string under the given keys, trimmed.

Blank and mistyped values are skipped so a headline never phrases whitespace: trimming here (not at each caller) keeps every describer total over messy agent payloads.