/**
 * Given a list of emotions and an emotion, return the index of the emotion in the list.
 *
 * @param emotions A list of emotions.
 * @param emotion The emotion to find.
 * @return The index of the emotion in the list.
 */
fun getEmotionIndex(emotions: List<String>, emotion: String): Int {

    if (!emotions.contains(emotion)) {
        return -1
    }
    return emotions.indexOf(emotion)
}
/**
 * Given a list of emotions and an emotion, return the index of the emotion in the list.
 *
 * @param emotions A list of emotions.
 * @param emotion The emotion to find.
 * @return The index of the emotion in the list.
 */
fun getEmotionIndex(emotions: List<String>, emotion: String): Int {
/**
 * Given a list of emotions and an emotion, return the index of the emotion in the list.
 *
 * @param emotions A list of emotions.
 * @param emotion The emotion to find.
 * @return The index of the emotion in the list.
 */
fun getEmotionIndex(emotions: List<String>, emotion: String): Int {

    if (!emotions.contains(emotion)) {
        return -1
    }
    return emotions.indexOf(emotion)
}