Update website/docs/language/functions/tostring.mdx

Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
This commit is contained in:
Craig Wright 2023-07-31 10:35:33 -07:00 committed by GitHub
parent 40dfd20dda
commit e1148b3ad7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ convert types automatically where required. Use the explicit type conversion
functions only to normalize types returned in module outputs. functions only to normalize types returned in module outputs.
Only the primitive types (string, number, and bool) and `null` can be converted to string. Only the primitive types (string, number, and bool) and `null` can be converted to string.
`tostring(null)` produces a `null` value of type `string`. All other values will produce an error. `tostring(null)` produces a `null` value of type `string`. All other values produce an error.
## Examples ## Examples