Skip to main content
Module

x/leaves/mod.ts>predicateAwareClassFactory

A Web framework For Deno with Decorator and middleware
Latest
function predicateAwareClassFactory
import { predicateAwareClassFactory } from "https://deno.land/x/leaves@v0.1.5/mod.ts";

Parameters

predicate: (dependencyContainer: DependencyContainer) => boolean
trueConstructor: constructor<T>
falseConstructor: constructor<T>
optional
useCaching = [UNSUPPORTED]