tldraw/docs/gen/areAnglesCompatible-function-1.mdx
Steve Ruiz 096df3209b
[1/2] Move docs to brivate (#1640)
This PR moves the docs site to the private repo while keeping the docs
content on the public repo.

### Change Type

- [x] `documentation`
2023-06-23 14:23:14 +00:00

68 lines
811 B
Text

---
title: areAnglesCompatible
status: published
category: primitives
group: Function
author: api
date: 06/23/2023
order: 2
---<Small>Public Function</Small>
Checks whether two angles are approximately at right-angles or parallel to each other
##### Parameters
<ParametersTable>
<ParametersTableRow>
<ParametersTableName>
`a`
</ParametersTableName>
<ParametersTableDescription>
```ts
number
```
Angle a (radians)
</ParametersTableDescription>
</ParametersTableRow>
<ParametersTableRow>
<ParametersTableName>
`b`
</ParametersTableName>
<ParametersTableDescription>
```ts
number
```
Angle b (radians)
</ParametersTableDescription>
</ParametersTableRow>
</ParametersTable>
##### Returns
```ts
boolean
```
True iff the angles are approximately at right-angles or parallel to each other