0

Provide a method that will check if a word, digits or a series of words constitutes a palindrome.
The result of the test should be either true or false.

A palindrome is a word, phrase, number, or other sequence of symbols or elements, whose meaning may be interpreted the same way in either forward or reverse direction.

List of palindromes to check with your solution.

A Santa at Nasa
racecar
Some men interpret nine memos
5885
Never odd or even