Skip to content

Type Editor


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

ParameterTypeDescription
areadonly PmDecoration[]First decoration array
breadonly PmDecoration[]Second decoration array

Returns

boolean

True if the arrays contain equivalent decorations