Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deco/utils/conditionals.ts>withConditionals

deco is the edge-native site editor and app framework for building dynamic, high-performance sites with a built-in visual admin UI.
Go to Latest
variable withConditionals
import { withConditionals } from "https://deno.land/x/deco@1.40.2/utils/conditionals.ts";

type

<TValue, T extends [key in Key]: Props<TValue>, Key extends keyof T = keyof T>(key: Key) => FnProps<T, TValue, LoaderContext>