/**
 * This function takes a list of objects and an object to find as input, and returns the index of the first occurrence of the object in the list.
 *
 * @param objectList The list of objects
 * @param objectToFind The object to find in the list
 * @return Index of the first occurrence of the object in the list, or -1 if the object is not found in the list
 */
fun getIndexOfObject(objectList: List<Any>, objectToFind: Any): Int {

    for (i in objectList.indices) {
        if (objectList[i] == objectToFind) {
            return i
        }
    }
    return -1
}
/**
 * This function takes a list of objects and an object to find as input, and returns the index of the first occurrence of the object in the list.
 *
 * @param objectList The list of objects
 * @param objectToFind The object to find in the list
 * @return Index of the first occurrence of the object in the list, or -1 if the object is not found in the list
 */
fun getIndexOfObject(objectList: List<Any>, objectToFind: Any): Int {
/**
 * This function takes a list of objects and an object to find as input, and returns the index of the first occurrence of the object in the list.
 *
 * @param objectList The list of objects
 * @param objectToFind The object to find in the list
 * @return Index of the first occurrence of the object in the list, or -1 if the object is not found in the list
 */
fun getIndexOfObject(objectList: List<Any>, objectToFind: Any): Int {

    for (i in objectList.indices) {
        if (objectList[i] == objectToFind) {
            return i
        }
    }
    return -1
}