function
diff.arrays
oldArray: readonly T[],
newArray: readonly T[],
Compare two arrays element by element, with ===.
@returns
The changes, or undefined if there are more than maxEditLength edits
Referenced types
interface Options
- maxEditLength?: number
Return
undefinedwhen the diff adds and removes more than this many tokens in total. An integer from 0, orInfinity.