string
Casts an expression to a string.
string(x:any) -> string
Description
Section titled “Description”The string
function casts the given value x
to a string.
Examples
Section titled “Examples”Cast an IP address to a string
Section titled “Cast an IP address to a string”from {x: string(1.2.3.4)}
{x: "1.2.3.4"}