function flipimport { flip } from "https://deno.land/x/windmill@v1.380.1/node_modules/tsafe/src/flip.ts"; flip<T extends Record<string, any>>(object: T, prop: KeyOfType<T, boolean>)Flip the value of a boolean without having to reference it twice after running flip(x.y, "z") x.y.z !== x.y.z, https://docs.tsafe.dev/flip Type ParametersT extends Record<string, any>Parametersobject: Tprop: KeyOfType<T, boolean>