@spiceErrorCheck<EOL>def isrchi(value, ndim, array):
value = ctypes.c_int(value)<EOL>ndim = ctypes.c_int(ndim)<EOL>array = stypes.toIntVector(array)<EOL>return libspice.isrchi_c(value, ndim, array)<EOL>
Search for a given value within an integer array. Return
the index of the first matching array entry, or -1 if the key
value was not found.

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

:param value: Key value to be found in array.
:type value: int
:param ndim: Dimension of array.
:type ndim: int
:param array: Integer array to search.
:type array: Array of ints
:return:
        The index of the first matching array element or -1
        if the value is not found.
:rtype: int