from typing import List
from typing import Union


def findFirstVar(results : List[Union[None, int]]) -> Union[None, int]:
    """Finds the first index in a list of none's

    Args:
        results (List[Union[None, int]]): A list of none's and integers

    Returns(either):
        int: The first item's value(index)
        None: If there were no indexes in the list, return none
    """
    if len(results) == 0:
        return None 
    if results[0] is not None:
        return results[0]
    return findFirstVar(results[1:])