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