mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
13 lines
291 B
Typst
13 lines
291 B
Typst
// Test the `upper` and `lower` functions.
|
|
// Ref: false
|
|
|
|
---
|
|
#let memes = "ArE mEmEs gReAt?";
|
|
#test(lower(memes), "are memes great?")
|
|
#test(upper(memes), "ARE MEMES GREAT?")
|
|
#test(upper("Ελλάδα"), "ΕΛΛΆΔΑ")
|
|
|
|
---
|
|
// Error: 8-9 expected string or content, found integer
|
|
#upper(1)
|