FunctionssubnetVersion: NextOn this pagesubnetCasts an expression to a subnet mask.subnet(x:string) -> subnetDescriptionThe sub function casts the provided string x to a subnetExamplesCast a string to an IP addressfrom {x: subnet("1.2.3.4/16")}{x: 1.2.0.0/16}See Alsoip, int, uint, float, time, string