API > @blocksuite/blocks > isOverlap
Function: isOverlap ​
isOverlap(
line1,line2,axis,strict=true):boolean
Parameters ​
| Parameter | Type | Default value |
|---|---|---|
line1 | IVec[] | undefined |
line2 | IVec[] | undefined |
axis | 0 | 1 | undefined |
strict | boolean | true |
Returns ​
boolean
Defined In ​
packages/blocks/src/surface-block/utils/math-utils.ts:501