/**
 * Given a list [lst] and a value [value], find the index of the first occurrence of [value] in the list.
 *
 * @param lst A list of values.
 * @param value The value to search for.
 * @return The index of the first occurrence of [value] in the list, or -1 if not found.
 */
fun findIndexValue(lst: List<Any>, value: Any): Int {

    return try {
        lst.indexOf(value)
    } catch (e: NoSuchElementException) {
        -1
    }
}
/**
 * Given a list [lst] and a value [value], find the index of the first occurrence of [value] in the list.
 *
 * @param lst A list of values.
 * @param value The value to search for.
 * @return The index of the first occurrence of [value] in the list, or -1 if not found.
 */
fun findIndexValue(lst: List<Any>, value: Any): Int {
/**
 * Given a list [lst] and a value [value], find the index of the first occurrence of [value] in the list.
 *
 * @param lst A list of values.
 * @param value The value to search for.
 * @return The index of the first occurrence of [value] in the list, or -1 if not found.
 */
fun findIndexValue(lst: List<Any>, value: Any): Int {

    return try {
        lst.indexOf(value)
    } catch (e: NoSuchElementException) {
        -1
    }
}