function
diff.chars
oldText: string,
newText: string,
Compare two strings by Unicode code point.
@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.