Contents:
stissplice
nearest_index()
Finds the index of a value in array that is closest to target_value.
array
target_value
Target array.
Target value.
int
Index of the value in array that is closest to target_value.