from typing import List


def _get_func_start_line_index(
        line_splitted_list: List[str], func_name: str):
    """
    Get the start line index of the target function.

    Parameters
    ----------
    line_splitted_list : list of str
        A list of strings separated by line.
    func_name : str
        Target function name.

    Returns
    -------
    func_start_line_index : int
        The start line index of the target function. If target
        function name not found, -1 will be set.
    """
    search_str: str = f'def {func_name}'
    for i, line_str in enumerate(line_splitted_list):
        is_in: bool = search_str in line_str
        if not is_in:
            continue
        if i + 1 >= len(line_splitted_list):
            continue
        next_line_str: str = line_splitted_list[i + 1]
        concatenated_str: str = line_str + next_line_str
        concatenated_str = concatenated_str.replace('\n', '')
        concatenated_str = concatenated_str.strip()
        is_in = f'def {func_name}(' in concatenated_str
        if not is_in:
            continue
        return i
    return -1