Skip to main content
Module

x/windmill/node_modules/tsafe/flip.d.ts>flip

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
function flip
import { flip } from "https://deno.land/x/windmill@v1.364.2/node_modules/tsafe/flip.d.ts";

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 Parameters

T extends Record<string, any>

Parameters

object: T
prop: KeyOfType<T, boolean>