Skip to content

Casts an expression to an IP address.

ip(x:string) -> ip

The ip function casts the provided string x to an IP address.

from {x: ip("1.2.3.4")}
{x: 1.2.3.4}

Last updated: