mirror of
https://github.com/typst/typst
synced 2025-05-21 20:45:27 +08:00
15 lines
254 B
Typst
15 lines
254 B
Typst
// Test function calls.
|
|
// Ref: false
|
|
|
|
---
|
|
// Whitespace is significant.
|
|
#test(type(1), "integer")
|
|
#test (type (1), "integer")
|
|
|
|
// From variable.
|
|
#let alias = type
|
|
#test(alias(alias), "function")
|
|
|
|
// Returns template.
|
|
#test(type(font(12pt)), "template")
|