def _flatten_array_to_str(array):
    """
    Helper function to reduce an array to a string
    to make it immutable.

    Args:
        array (array): Array to make to string

    Returns:
        string: String where each value from the array is appended to each other
    """
    s = ""
    for i in array:
        s += str(i)
    return s