Skip to main content

toString(value)

Signature: toString(value: Any) -> str

Simple helper that calls str() on the value and returns it. Useful in templates or quick logging.

Example

function example() returns null {
print(toString(123)); # "123"
}