mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
Improve scripting reference Methods
example (#5003)
This commit is contained in:
parent
cb550d9c76
commit
4868990d86
@ -273,9 +273,9 @@ of each type lists it's scoped functions. You cannot currently define your own
|
||||
methods.
|
||||
|
||||
```example
|
||||
#let array = (1, 2, 3, 4)
|
||||
#array.pop() \
|
||||
#array.len() \
|
||||
#let values = (1, 2, 3, 4)
|
||||
#values.pop() \
|
||||
#values.len() \
|
||||
|
||||
#("a, b, c"
|
||||
.split(", ")
|
||||
|
Loading…
x
Reference in New Issue
Block a user