High Complexity / TS 5.0+

anagram_palindrome.ts

Decides whether any anagram of a word can form a palindrome (an "anadrome") by checking character parity, then enumerates every possible palindrome through type-level permutations.

Edit the source on the left. As you type, the type checker re-evaluates and prints the fully-resolved value of each concrete type alias on the right.

anagram_palindrome.ts
TS 5.9
Compiler Output View
Booting TypeScript…