FunctionssubnetVersion: v4.25On this pagesubnetCasts an expression to a subnet value.subnet(x:string) -> subnetDescriptionThe subnet function casts an expression to a subnet.x: stringThe string expression to cast.ExamplesCast a string to a subnetfrom {x: subnet("1.2.3.4/16")}{x: 1.2.0.0/16}See Alsoip, int, uint, float, time, string