Fix Getting Started article
All checks were successful
Deploy Docs / publish (push) Successful in 47s
All checks were successful
Deploy Docs / publish (push) Successful in 47s
This commit is contained in:
parent
b299034a4e
commit
06577a2c4c
@ -42,7 +42,7 @@ Insert '10' at position 4
|
|||||||
```
|
```
|
||||||
|
|
||||||
#### Run Functions for the Steps
|
#### Run Functions for the Steps
|
||||||
Directly run functions for the `replace`, `delete` and `insert` transformations using the ``Swift/Array/transform(to:id:functions:)-2wzm8`` (for strings: ``Swift/String/transform(to:id:functions:)-3b6nc``) function.
|
Directly run functions for the `replace`, `delete` and `insert` transformations using the ``Swift/Array/transform(to:id:functions:)-5sa4j`` (for strings: ``Swift/String/transform(to:id:functions:)-3b6nc``) function.
|
||||||
```swift
|
```swift
|
||||||
var modified = source
|
var modified = source
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ print(modified == target)
|
|||||||
```
|
```
|
||||||
This example outputs `true`.
|
This example outputs `true`.
|
||||||
|
|
||||||
The transform functions are available in an asynchronous version: ``Swift/Array/transform(to:id:functions:)-756uw`` for arrays and ``Swift/String/transform(to:functions:)-46is`` for strings.
|
The transform functions are available in an asynchronous version: ``Swift/Array/transform(to:id:functions:)-1gw5x`` for arrays and ``Swift/String/transform(to:functions:)-46is`` for strings.
|
||||||
|
|
||||||
### Arrays with Identifiable Elements
|
### Arrays with Identifiable Elements
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user