cedar_policy_core::fuzzy_match

Function fuzzy_search

Source
pub fn fuzzy_search(key: &str, lst: &[impl AsRef<str>]) -> Option<String>
Expand description

Fuzzy string matching using the Levenshtein distance algorithm