tldraw/apps/docs/content/gen/rangesOverlap-function-1.mdx
alex c893a02878
remove lock option from highlighter (#1703)
Highlighter is autolocked, so we shouldn't show the lock icon 

### Change Type

- [x] `patch` — Bug fix


[^1]: publishes a `patch` release, for devDependencies use `internal`
[^2]: will not publish a new version

### Test Plan

1. Add a step-by-step description of how to test your PR here.
2.

- [ ] Unit Tests
- [ ] End to end tests

### Release Notes

- We no longer show the tool lock option for highlighter - it didn't do
anything anyway
2023-07-04 10:41:14 +00:00

105 lines
1.1 KiB
Text

---
title: rangesOverlap
status: published
category: primitives
group: Function
author: api
date: 06/23/2023
order: 73
---<Small>Public Function</Small>
##### Parameters
<ParametersTable>
<ParametersTableRow>
<ParametersTableName>
`a0`
</ParametersTableName>
<ParametersTableDescription>
```ts
number
```
The start point in the A range
</ParametersTableDescription>
</ParametersTableRow>
<ParametersTableRow>
<ParametersTableName>
`a1`
</ParametersTableName>
<ParametersTableDescription>
```ts
number
```
The end point in the A range
</ParametersTableDescription>
</ParametersTableRow>
<ParametersTableRow>
<ParametersTableName>
`b0`
</ParametersTableName>
<ParametersTableDescription>
```ts
number
```
The start point in the B range
</ParametersTableDescription>
</ParametersTableRow>
<ParametersTableRow>
<ParametersTableName>
`b1`
</ParametersTableName>
<ParametersTableDescription>
```ts
number
```
The end point in the B range
</ParametersTableDescription>
</ParametersTableRow>
</ParametersTable>
##### Returns
```ts
boolean
```
True if the ranges overlap