Skip to content

Commit 35ea65f

Browse files
committed
Extend uniprop(s) explanation
1 parent 72dad49 commit 35ea65f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

doc/Type/Cool.pod6

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,8 @@ Defined as:
947947
Returns the L<unicode property|http://userguide.icu-project.org/strings/properties>
948948
of the first character. If no property is specified returns the
949949
L<General Category|https://en.wikipedia.org/wiki/Unicode_character_property#General_Category>.
950-
Returns a Bool for Boolean properties.
950+
Returns a Bool for Boolean properties. A L<uniprops|/routine/uniprops> routine can be used
951+
to get property for every character in a string.
951952
952953
say 'a'.uniprop; # OUTPUT: «Ll␤»
953954
say '1'.uniprop; # OUTPUT: «Nd␤»
@@ -964,8 +965,9 @@ Interprets the invocant as a L<Str|/type/Str>, and returns the
964965
L<unicode property|http://userguide.icu-project.org/strings/properties> for each character
965966
as a Seq. If no property is specified returns the
966967
L<General Category|https://en.wikipedia.org/wiki/Unicode_character_property#General_Category>.
967-
Returns a Bool for Boolean properties. Similar to L<uniprop|/routine/uniprop>
968-
968+
Returns a Bool for Boolean properties. Similar to
969+
L<uniprop|/routine/uniprop>, but for each character in the passed
970+
string.
969971
970972
=head2 routine uniname
971973

0 commit comments

Comments
 (0)