import { predicateAwareClassFactory } from "https://deno.land/x/leaves@v0.1.5/mod.ts";
Parameters
predicate: (dependencyContainer: DependencyContainer) => boolean
trueConstructor: constructor<T>
falseConstructor: constructor<T>
x/leaves/mod.ts>predicateAwareClassFactory
import { predicateAwareClassFactory } from "https://deno.land/x/leaves@v0.1.5/mod.ts";