subnet
Casts an expression to a subnet value.
subnet(x:string) -> subnet
Description
Section titled “Description”The subnet
function casts an expression to a subnet.
x: string
Section titled “x: string”The string expression to cast.
Examples
Section titled “Examples”Cast a string to a subnet
Section titled “Cast a string to a subnet”from {x: subnet("1.2.3.4/16")}
{x: 1.2.0.0/16}