mirror of https://github.com/stelzo/typst.git
add documentation for enumerate function (#664)
This commit is contained in:
parent
a7dfed86c6
commit
894a78a426
|
|
@ -526,6 +526,11 @@ Fails with an error if the index is out of bounds.
|
|||
The index at which to retrieve the item.
|
||||
- returns: any
|
||||
|
||||
### enumerate()
|
||||
Returns an array of the values along with their indices.
|
||||
|
||||
- returns: array
|
||||
|
||||
### push()
|
||||
Add a value to the end of the array.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue