Skip to content

API > @blocksuite/blocks > isOverlap

Function: isOverlap ​

isOverlap( line1, line2, axis, strict = true): boolean

Parameters ​

ParameterTypeDefault value
line1IVec[]undefined
line2IVec[]undefined
axis0 | 1undefined
strictbooleantrue

Returns ​

boolean

Defined In ​

packages/blocks/src/surface-block/utils/math-utils.ts:501