Primary
econtains() ⚬ᵈᵛ|Documentation|1st|20260121231952-00-⌔
Functions - Dataview#econtainsobjectliststring-value
econtains(object|list|string, value)“Exact contains” checks if the exact match is found in the string/list. This function is case sensitive.
- For strings, it behaves exactly like
contains().econtains("Hello", "Lo") = false econtains("Hello", "lo") = true
- For lists, it checks if the exact word is in the list.
econtains(["These", "are", "words"], "word") = false econtains(["These", "are", "words"], "words") = true
- For objects, it checks if the exact key name is present in the object. It does not do recursive checks.
econtains({key:"value", pairs:"here"}, "here") = false econtains({key:"value", pairs:"here"}, "key") = true econtains({key:"value", recur:{recurkey: "val"}}, "value") = false econtains({key:"value", recur:{recurkey: "val"}}, "Recur") = false econtains({key:"value", recur:{recurkey: "val"}}, "recurkey") = falsePrinted 2026-06-28.
(echo:: @ ᯤ)
Link to original
Secondary
• • •