mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
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.
|
The index at which to retrieve the item.
|
||||||
- returns: any
|
- returns: any
|
||||||
|
|
||||||
|
### enumerate()
|
||||||
|
Returns an array of the values along with their indices.
|
||||||
|
|
||||||
|
- returns: array
|
||||||
|
|
||||||
### push()
|
### push()
|
||||||
Add a value to the end of the array.
|
Add a value to the end of the array.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user