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

    Function string

    • This function displays a specified string with an optional default value.

      Parameters

      • value: string | string[] | undefined

        Value to be returned

      • OptionaldefaultValue: string

        Default value if value does not resolve to true

      Returns string | undefined

      value if it resolves to true, otherwise defaultValue