Closed mkpoli closed 8 months ago
It seems that the labels of str and int type is different between tidy and Typst's official documentation, where
str
int
tidy
the string type is str https://typst.app/docs/reference/foundations/str/
string
the integer type is int https://typst.app/docs/reference/foundations/int/
integer
It seems that in old version of Typst, type(1) yields "integer", so is this a legacy or is it intended?
type(1)
"integer"
This is indeed legacy and also applies to relative (which was originally relative length).
relative
relative length
The old versions will also be supported in favour of backwards-compatibility
It seems that the labels of
str
andint
type is different betweentidy
and Typst's official documentation, wherethe
string
type isstr
https://typst.app/docs/reference/foundations/str/the
integer
type isint
https://typst.app/docs/reference/foundations/int/It seems that in old version of Typst,
type(1)
yields"integer"
, so is this a legacy or is it intended?