@microsoft/fast-element > Splice > adjustTo
Splice.adjustTo() method
Adjusts the splice index based on the provided array.
Signature:
adjustTo(array: any[]): this;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
array |
any[] |
The array to adjust to. |
Returns:
this
The same splice, mutated based on the reference array.