---
title: fmt
slug: reference/fmt
docTags: 
createdAt: 2025-09-24T15:40:28.491Z
---

## Module - "fmt"

:::hint{type="warning"}
`fmt` is not an importable module. It is already available in every script, so `fmt.sprintf(...)` works without an import. Writing `import("fmt")` fails to compile with `module 'fmt' not found`.
:::

### Functions

- `sprintf(format, args...)`: Returns a formatted string. Alias of the builtin function `format`. The first argument must be a String object. See [this](docId\:AE7jtYmsLBgwKDjB2FYgA) for more details on formatting.
