code_type/2

code_type(?Char , ?Type)*

The character Code has type Type. The types included here are based on SWI-Prolog's documentation. This built-in can enumerate all types for a certain code, and all codes that have a type.