Sobes.tech
Intern — Middle

Function to determine if a string is a palindrome

livecode

Task condition

Create a function that takes a word (string) and checks whether it reads the same from left to right and right to left. You may rename the input parameter if necessary, but the logic should remain the same – return true if the word is a palindrome, and false otherwise.