Module: processTargets/modifiers/surroundingPair/weaklyContains
Functions
weaklyContains
▸ weaklyContains(offsets1
, offsets2
): boolean
Determines whether {@link offsets1} weakly contains {@link offsets2}, which defined as the boundaries of {@link offsets1} being inside or equal to the boundaries of {@link offsets2}.
Parameters
Name | Type | Description |
---|---|---|
offsets1 | Offsets | The first set of offsets |
offsets2 | Offsets | The second set of offsets |
Returns
boolean
true
if {@link offsets1} weakly contains {@link offsets2}
Defined in
processTargets/modifiers/surroundingPair/weaklyContains.ts:11