@aleph-sdk/monorepo
    Preparing search index...

    Function toQueryParam

    • Normalizes a value that can be either a string or an array of strings into a comma-separated string suitable for API query parameters.

      Parameters

      • value: undefined | string | string[]

        A string, array of strings, or undefined

      Returns undefined | string

      A comma-separated string if the value has content, undefined otherwise