Docs
Introduction
Installation
Usage
App
Shapes
Tools
Persistence
Collaboration
User Interface
Community
Contributing
Translations
Embeds
API Reference
Close
tldraw
/
API
/
@tldraw/utils
rotateArray
Public Function
Rotate the contents of an array.
Parameters
Name
Description
arr
T[]
offset
number
Returns
T[]
Edit this page
Last edited on 6 June 2023
rng
sortById