Skip to main content
Module

x/alosaur/src/injection/factories/predicate-aware-class-factory.ts>default

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
function default
import { default } from "https://deno.land/x/alosaur@v0.38.0/src/injection/factories/predicate-aware-class-factory.ts";

Parameters

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