Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno_class_validator/src/index.ts>getFromContainer

Decorator-based property validation for classes.
Latest
function getFromContainer
Re-export
import { getFromContainer } from "https://deno.land/x/deno_class_validator@v1.0.0/src/index.ts";

Gets the IOC container used by this library.

Parameters

someClass: { new (...args: any[]): T; } | Function