43 lines
1.1 KiB
Markdown
43 lines
1.1 KiB
Markdown
**EXTENSION**
|
|
|
|
# `Array`
|
|
|
|
## Methods
|
|
### `levenshteinDistance(to:)`
|
|
|
|
Calculate the Levenshtein distance to another array.
|
|
- Parameter target: The target array.
|
|
- Returns: The Levenshtein distance.
|
|
|
|
### `getTransformations(to:)`
|
|
|
|
Get the transformations needed to transform the array into the target array.
|
|
- Parameter target: The target array.
|
|
- Returns: The transformations.
|
|
|
|
### `transform(to:functions:)`
|
|
|
|
Call every transformation step needed to transform the array into the target array.
|
|
- Parameters:
|
|
- target: The target array.
|
|
- functions: The transformation functions.
|
|
|
|
### `identifiableLevenshteinDistance(to:)`
|
|
|
|
Calculate the Levenshtein distance to another array.
|
|
- Parameter target: The target array.
|
|
- Returns: The Levenshtein distance.
|
|
|
|
### `identifiableGetTransformations(to:)`
|
|
|
|
Get the transformations needed to transform the array into the target array.
|
|
- Parameter target: The target array.
|
|
- Returns: The transformations.
|
|
|
|
### `identifiableTransform(to:functions:)`
|
|
|
|
Call every transformation step needed to transform the array into the target array.
|
|
- Parameters:
|
|
- target: The target array.
|
|
- functions: The transformation functions.
|