Type Editor / @type-editor/viewdesc / util/same-outer-deco / sameOuterDeco
Function: sameOuterDeco()
ts
function sameOuterDeco(a, b): boolean;Defined in: util/same-outer-deco.ts:11
Check if two arrays of outer decorations are the same.
Parameters
| Parameter | Type | Description |
|---|---|---|
a | readonly PmDecoration[] | First decoration array |
b | readonly PmDecoration[] | Second decoration array |
Returns
boolean
True if the arrays contain equivalent decorations