Module

x/alosaur/mod.ts>predicateAwareClassFactory

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
function predicateAwareClassFactory
import { predicateAwareClassFactory } from "https://dotland.deno.dev/x/alosaur@v0.34.0/mod.ts";

Parameters

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