Finds the index of the first non-null element in a list.
first_non_null_index.Rd
This function searches a list and returns the index of the first non-null element.
Examples
my_list <- list(NULL, NULL, 3, 5, NULL)
first_non_null_index(my_list) # Returns 3
#> [1] 3