mirror of
https://github.com/type-challenges/type-challenges.git
synced 2026-02-01 15:47:22 +00:00
IsPalindrome

by jiangshan @jiangshanmeta
Implement type IsPalindrome<T> to check whether a string or number is palindrome.
For example:
IsPalindrome<'abc'> // false
IsPalindrome<121> // true