mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +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.
|
||||
- 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…
x
Reference in New Issue
Block a user