File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -606,7 +606,7 @@ extension Unicode.Scalar.Properties {
606
606
///
607
607
/// let scalars: [Unicode.Scalar] = ["😎", "$", "0"]
608
608
/// for s in scalars {
609
- /// print(s, "-->", s.isEmoji)
609
+ /// print(s, "-->", s.properties. isEmoji)
610
610
/// }
611
611
/// // 😎 --> true
612
612
/// // $ --> false
@@ -1365,9 +1365,9 @@ extension Unicode.Scalar.Properties {
1365
1365
/// for scalar in scalars {
1366
1366
/// print(scalar, "-->", scalar.properties.numericType)
1367
1367
/// }
1368
- /// // 4 --> decimal
1369
- /// // ④ --> digit
1370
- /// // ⅕ --> numeric
1368
+ /// // 4 --> Optional(Swift.Unicode.NumericType. decimal)
1369
+ /// // ④ --> Optional(Swift.Unicode.NumericType. digit)
1370
+ /// // ⅕ --> Optional(Swift.Unicode.NumericType. numeric)
1371
1371
/// // X --> nil
1372
1372
///
1373
1373
/// This property corresponds to the "Numeric_Type" property in the
@@ -1389,9 +1389,9 @@ extension Unicode.Scalar.Properties {
1389
1389
/// for scalar in scalars {
1390
1390
/// print(scalar, "-->", scalar.properties.numericValue)
1391
1391
/// }
1392
- /// // 4 --> 4.0
1393
- /// // ④ --> 4.0
1394
- /// // ⅕ --> 0.2
1392
+ /// // 4 --> Optional( 4.0)
1393
+ /// // ④ --> Optional( 4.0)
1394
+ /// // ⅕ --> Optional( 0.2)
1395
1395
/// // X --> nil
1396
1396
///
1397
1397
/// This property corresponds to the "Numeric_Value" property in the [Unicode
You can’t perform that action at this time.
0 commit comments