Skip to content

Type Editor


Type Editor / @type-editor/changeset / simplify-changes/has-word-boundary

simplify-changes/has-word-boundary

Functions

FunctionDescription

hasWordBoundary

Checks if there's a word boundary between two changes.

A word boundary is detected when there's a transition from non-letter to letter or vice versa between the end of one change and the start of the next.