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