Documentation for method uniname

Documentation for method uniname, assembled from the following types:

class Cool

From Cool

(Cool) method uniname

Defined as:

sub uniname(Str(Cool--> Str)
method uniname(--> Str)

Interprets the invocant / first argument as a Str, and returns the Unicode codepoint name of the first codepoint of the first character. See uninames for a routine that works with multiple codepoints.

# Camelia in Unicode 
say »ö«.uniname;
say "Ḍ̇".uniname# Note, doesn't show "COMBINING DOT ABOVE" 
# Find the char with the longest Unicode name. 
say (0..0x1FFFF).sort(*.uniname.chars)[*-1].chr.uniname;