def lstlti(x, n, array):
    """
    Given a number x and an array of non-decreasing int,
    find the index of the largest array element less than x.

    http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstlti_c.html

    :param x: Value to search against
    :type x: int
    :param n: Number elements in array
    :type n: int
    :param array: Array of possible lower bounds
    :type array: list
    :return: index of the last element of array that is less than x.
    :rtype: int
    """
    array = stypes.toIntVector(array)
    x = ctypes.c_int(x)
    n = ctypes.c_int(n)
    return libspice.lstlti_c(x, n, array)
Given a number x and an array of non-decreasing int,
    find the index of the largest array element less than x.

    http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/lstlti_c.html

    :param x: Value to search against
    :type x: int
    :param n: Number elements in array
    :type n: int
    :param array: Array of possible lower bounds
    :type array: list
    :return: index of the last element of array that is less than x.
    :rtype: int