Skip to content

Commit 49420b4

Browse files
committed
docs: update option description
1 parent 864aac3 commit 49420b4

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

lib/node_modules/@stdlib/string/first/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The function supports the following options:
4747
- **mode**: type of characters to return. Must be one of the following:
4848

4949
- `'grapheme'`: grapheme clusters. Appropriate for strings containing visual characters which can span multiple Unicode code points (e.g., emoji).
50-
- `'code_point'`: Unicode code points. Appropriate for strings containing visual characters which are comprised of more than one Unicode code unit.
50+
- `'code_point'`: Unicode code points. Appropriate for strings containing visual characters which are comprised of more than one Unicode code unit (e.g., ideographic symbols and punctuation and mathematical alphanumerics).
5151
- `'code_unit'`: UTF-16 code units. Appropriate for strings containing visual characters drawn from the basic multilingual plane (BMP) (e.g., common characters, such as those from the Latin, Greek, and Cyrillic alphabets).
5252

5353
Default: `'grapheme'`.

lib/node_modules/@stdlib/string/first/docs/repl.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
characters which can span multiple Unicode code points (e.g., emoji).
2121
- code_point: Unicode code points. Appropriate for strings containing
2222
visual characters which are comprised of more than one Unicode code
23-
unit.
23+
unit (e.g., ideographic symbols and punctuation and mathematical
24+
alphanumerics).
2425
- code_unit': UTF-16 code units. Appropriate for strings containing
2526
visual characters drawn from the basic multilingual plane (BMP) (e.g.,
2627
common characters, such as those from the Latin, Greek, and Cyrillic

lib/node_modules/@stdlib/string/first/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ interface Options {
3232
* - The following option values are supported:
3333
*
3434
* - `'grapheme'`: grapheme clusters. Appropriate for strings containing visual characters which can span multiple Unicode code points (e.g., emoji).
35-
* - `'code_point'`: Unicode code points. Appropriate for strings containing visual characters which are comprised of more than one Unicode code unit.
35+
* - `'code_point'`: Unicode code points. Appropriate for strings containing visual characters which are comprised of more than one Unicode code unit (e.g., ideographic symbols and punctuation and mathematical alphanumerics).
3636
* - `'code_unit'`: UTF-16 code units. Appropriate for strings containing visual characters drawn from the basic multilingual plane (BMP) (e.g., common characters, such as those from the Latin, Greek, and Cyrillic alphabets).
3737
*/
3838
mode?: 'grapheme' | 'code_point' | 'code_unit';

0 commit comments

Comments
 (0)