/**
 * This function determines whether the given selection is an operator.
 *
 * @param selection The selected element
 * @param operator The operator to compare against
 * @return True if the selection is an operator, False otherwise
 */
fun isOperatorSelection(selection: String, operator: String): Boolean {

    val operators = listOf("+", "-", "*", "/", "%", "^", "==", "!=", "<", ">", "<=", ">=", "and", "or", "not")

    return when {
        selection == operator -> selection in operators
        selection == "INSERT CODE HERE" -> "INSERT CODE HERE" in "INSERT CODE HERE"
        else -> false
    }
}
/**
 * This function determines whether the given selection is an operator.
 *
 * @param selection The selected element
 * @param operator The operator to compare against
 * @return True if the selection is an operator, False otherwise
 */
fun isOperatorSelection(selection: String, operator: String): Boolean {
/**
 * This function determines whether the given selection is an operator.
 *
 * @param selection The selected element
 * @param operator The operator to compare against
 * @return True if the selection is an operator, False otherwise
 */
fun isOperatorSelection(selection: String, operator: String): Boolean {

    val operators = listOf("+", "-", "*", "/", "%", "^", "==", "!=", "<", ">", "<=", ">=", "and", "or", "not")

    return when {
        selection == operator -> selection in operators
        selection == "INSERT CODE HERE" -> "INSERT CODE HERE" in "INSERT CODE HERE"
        else -> false
    }
}