Type Challenges Judge
Problems
Progress
IsPalindrome
Implement type IsPalindrome<T> to check whether a string or number is palindrome.
IsPalindrome<T>
For example:
IsPalindrome<'abc'> // false IsPalindrome<121> // true