# Function Reference

**URL:** https://heroiclabs.com/docs/nakama/server-framework/typescript-runtime/function-reference/
**Summary:** This page lists all functions available within Nakama's JavaScript runtime, with their respective parameters and corresponding code samples.
**Keywords:** nakama typescript api, nakama typescript functions, nakama typescript function signature, function signatures, nakama typescript examples, sql, matchcreate, matchlist, typescript, functions, api, httprequest
**Categories:** nakama, function-reference, typescript-runtime

---


# Function Reference

The code runtime built into the server includes a module with functions to implement various logic and custom behavior, enabling you to define authoritative code and conditions on input received by clients. Learn more about it in the [Server Framework](../../) documentation.

This page lists all functions available within Nakama and their respective parameters, with corresponding code samples for each.
If you haven't already, see the documentation on using the [server framework](../../../server-framework/).

{{< note "important" >}}
Writing custom SQL is discouraged in favor of using the built-in features of the Storage Engine. If custom SQL is needed for your use case, please [contact Heroic Labs](mailto:support@heroiclabs.com) before proceeding.
{{< / note >}}

{{< note "error" >}}
The creation of custom tables is strongly discouraged.
{{< / note >}}

{{< runtime namespace="runtime" lang="typescript">}}
