pub fn configured(snapshot: &ConfigSnapshot) -> boolExpand description
What: Whether any entry of the configuration read has the key, in any scope. Why: The listing holds every file Git reads, in precedence order; one entry of any value is the person’s.
In TS you’d write (pseudocode):
snapshot.entries.some((entry) => entry.key === 'checkout.workers')