Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/danet/src/metadata/mod.ts>MetadataHelper

A Savory web framework for Deno heavily inspired by Nest
Go to Latest
class MetadataHelper
import { MetadataHelper } from "https://deno.land/x/danet@1.3.2/src/metadata/mod.ts";

Static Methods

getMetadata<T>(
key: string,
obj: unknown,
property?: string | symbol,
): T
setMetadata(
key: string,
value: unknown,
target: unknown,
property?: string | symbol,
)