IsPalindrome

Hard
0.0% Acceptance

Implement type IsPalindrome<T> to check whether a string or number is palindrome.

For example:

IsPalindrome<'abc'> // false IsPalindrome<121> // true