Skip to main content

configured

Function configured 

Source
pub fn configured(snapshot: &ConfigSnapshot) -> bool
Expand 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')