Unicode.GeneralCategory.category

You're seeing just the function category, go back to Unicode.GeneralCategory module for more information.

Returns the category name(s) for the given binary or codepoint.

In the case of a codepoint, a single category name is returned.

For a binary a list of distinct category names represented by the graphemes in the binary is returned.

Only concrete general categories are considered, derived categories (:all, :ascii, :assigned etc) are not considered.