GeoLeaf Core API - v3.19.0
    Preparing search index...
    • Whether a value contains every term, in any order. The value is coerced with String() and normalized; the terms are expected already normalized (see searchTerms).

      Parameters

      • value: unknown

        Value to test (a property value, typically).

      • terms: readonly string[]

        Normalized terms.

      Returns boolean

      true when every term occurs in the value — true as well for no term.

      containsAllTerms("Le Récif — Saint-Gilles", searchTerms("gilles recif")); // true