treeloom-components
    Preparing search index...

    Function optionMatches

    • Whether an option's value or label text includes the search term (already trimmed and lower-cased).

      Parameters

      • optionItem: DomItem
      • term: string

      Returns boolean