Whether I should " " before and after true of false

Screen Link:

My Code:
is_divisible <- function(divisor, dividend) {
whole <- floor(divisor / dividend)
rem <- divisor - (whole * dividend)
if (rem == 0) {
return(TRUE)
}
else {
return(FALSE)
}
}

div_5731_by_11 <- is_divisible(5731, 11)

Replace this line with your code

What I expected to happen:

What actually happened:
When I use " TRUE", “FALSE” as an object of return, I encountered an error.

Replace this line with the output/error

Hello @nextlevellearning123, if you use "TRUE" instead of TRUE or "FALSE" instead of FALSE the returned object will be a Character and not a Logical.