{"route":"/en-US-v0.13.1/reference/foundations/","title":"Foundations","description":"Documentation for functions related to Foundations in Typst.","part":"Library","outline":[{"id":"summary","name":"Summary","children":[]},{"id":"definitions","name":"Definitions","children":[]}],"body":{"kind":"category","content":{"name":"foundations","title":"Foundations","details":"<p>Foundational types and functions.</p>\n<p>Here, you'll find documentation for basic data types like <a href=\"/en-US-v0.13.1/reference/foundations/int/\">integers</a> and\n<a href=\"/en-US-v0.13.1/reference/foundations/str/\">strings</a> as well as details about core computational functions.</p>","items":[{"name":"arguments","route":"/en-US-v0.13.1/reference/foundations/arguments/","oneliner":"Captured arguments to a function.","code":true},{"name":"array","route":"/en-US-v0.13.1/reference/foundations/array/","oneliner":"A sequence of values.","code":true},{"name":"assert","route":"/en-US-v0.13.1/reference/foundations/assert/","oneliner":"Ensures that a condition is fulfilled.","code":true},{"name":"auto","route":"/en-US-v0.13.1/reference/foundations/auto/","oneliner":"A value that indicates a smart default.","code":true},{"name":"bool","route":"/en-US-v0.13.1/reference/foundations/bool/","oneliner":"A type with two states.","code":true},{"name":"bytes","route":"/en-US-v0.13.1/reference/foundations/bytes/","oneliner":"A sequence of bytes.","code":true},{"name":"calc","route":"/en-US-v0.13.1/reference/foundations/calc","oneliner":"Module for calculations and processing of numeric values.","code":false},{"name":"content","route":"/en-US-v0.13.1/reference/foundations/content/","oneliner":"A piece of document content.","code":true},{"name":"datetime","route":"/en-US-v0.13.1/reference/foundations/datetime/","oneliner":"Represents a date, a time, or a combination of both.","code":true},{"name":"decimal","route":"/en-US-v0.13.1/reference/foundations/decimal/","oneliner":"A fixed-point decimal number type.","code":true},{"name":"dictionary","route":"/en-US-v0.13.1/reference/foundations/dictionary/","oneliner":"A map from string keys to values.","code":true},{"name":"duration","route":"/en-US-v0.13.1/reference/foundations/duration/","oneliner":"Represents a positive or negative span of time.","code":true},{"name":"eval","route":"/en-US-v0.13.1/reference/foundations/eval/","oneliner":"Evaluates a string as Typst code.","code":true},{"name":"float","route":"/en-US-v0.13.1/reference/foundations/float/","oneliner":"A floating-point number.","code":true},{"name":"function","route":"/en-US-v0.13.1/reference/foundations/function/","oneliner":"A mapping from argument values to a return value.","code":true},{"name":"int","route":"/en-US-v0.13.1/reference/foundations/int/","oneliner":"A whole number.","code":true},{"name":"label","route":"/en-US-v0.13.1/reference/foundations/label/","oneliner":"A label for an element.","code":true},{"name":"module","route":"/en-US-v0.13.1/reference/foundations/module/","oneliner":"An module of definitions.","code":true},{"name":"none","route":"/en-US-v0.13.1/reference/foundations/none/","oneliner":"A value that indicates the absence of any other value.","code":true},{"name":"panic","route":"/en-US-v0.13.1/reference/foundations/panic/","oneliner":"Fails with an error.","code":true},{"name":"plugin","route":"/en-US-v0.13.1/reference/foundations/plugin/","oneliner":"Loads a WebAssembly module.","code":true},{"name":"regex","route":"/en-US-v0.13.1/reference/foundations/regex/","oneliner":"A regular expression.","code":true},{"name":"repr","route":"/en-US-v0.13.1/reference/foundations/repr/","oneliner":"Returns the string representation of a value.","code":true},{"name":"selector","route":"/en-US-v0.13.1/reference/foundations/selector/","oneliner":"A filter for selecting elements within the document.","code":true},{"name":"str","route":"/en-US-v0.13.1/reference/foundations/str/","oneliner":"A sequence of Unicode codepoints.","code":true},{"name":"symbol","route":"/en-US-v0.13.1/reference/foundations/symbol/","oneliner":"A Unicode symbol.","code":true},{"name":"sys","route":"/en-US-v0.13.1/reference/foundations/sys","oneliner":"Module for system interactions.","code":false},{"name":"target","route":"/en-US-v0.13.1/reference/foundations/target/","oneliner":"Returns the current export target.","code":true},{"name":"type","route":"/en-US-v0.13.1/reference/foundations/type/","oneliner":"Describes a kind of value.","code":true},{"name":"version","route":"/en-US-v0.13.1/reference/foundations/version/","oneliner":"A version with an arbitrary number of components.","code":true}],"shorthands":null}}}