Skip to content

Commit

Permalink
Update docs/modules/types/api-reference/bounds.md
Browse files Browse the repository at this point in the history
Co-authored-by: felixpalmer <felixpalmer@gmail.com>
  • Loading branch information
ibgreen and felixpalmer authored Jul 26, 2024
1 parent 318ff8b commit 00856b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/modules/types/api-reference/bounds.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Any javascript typed array, or any javascript array containing numbers
### `is2DBounds()`

```ts
is2DBounds(bounds: Bounds2D | Bounds3D): bounds is Bounds2D
is2DBounds(bounds: Bounds): bounds is Bounds2D
```

Checks if the supplied bounds are 2D and narrows the type to `Bounds2D`.
Expand Down

0 comments on commit 00856b8

Please sign in to comment.