@bridgeline-digital/hawksearch-handlebars-ui
    Preparing search index...

    Function arrayFilterObjects

    • This function filters an array of objects based on whether a specified property value matches an optional condition, or, if omitted, has a truthy value

      Parameters

      • values: any[]

        Array of objects to be filtered

      • path: string

        Name of property or nested path to evaluate each object

      • Optionalcondition: any

        Optional condition

      Returns any[] | undefined

      Formatted currency string